RE: Could not compile application class
This is an error I have received for Android builds a couple of times. It is usually caused by an update to the Android SDK. Do you have the Android build checked? Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Andrew Henshaw Sent: Thursday, November 13, 2014 12:20 PM To: How to use LiveCode Subject: Could not compile application class Does anyone have any ideas when I get a messagebox with 'Could not compile application class’ in it when I try to save an app so I can deploy it on an iPhone, and at the same time I get a another window popping up saying I need Java runtime environment. Its frustrating as its only on one app, everything else works fine but there is nothing special in the app, the build settings are exactly same as another than compiles file, it has no included files, im at a loss. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not compile application class
Hi Andrew, The could not compile application class message will genreally occur when you are trying to build for Android and there is a discrepancy in your Android SDK/Java setup. In your message you mention that you are trying to build for an iPhone so it could be that you have Android checked in your stacks standalone application settings. Kind Regards, Neil Roger -- LiveCode Support Team ~ http://www.livecode.com -- On 13/11/2014 17:20, Andrew Henshaw wrote: Does anyone have any ideas when I get a messagebox with 'Could not compile application class’ in it when I try to save an app so I can deploy it on an iPhone, and at the same time I get a another window popping up saying I need Java runtime environment. Its frustrating as its only on one app, everything else works fine but there is nothing special in the app, the build settings are exactly same as another than compiles file, it has no included files, im at a loss. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not compile application class
Nope, only iPhone checked. I went back to 6.6.5 and it compiled fine, so the error only happens in LC6.7 and LC 7. Odd, hopefully its just a one off and will work itself out somehow, its only happening in one app, everything else compiles fine. Thanks Andy On 13 Nov 2014, at 17:47, Neil Roger n...@livecode.com wrote: Hi Andrew, The could not compile application class message will genreally occur when you are trying to build for Android and there is a discrepancy in your Android SDK/Java setup. In your message you mention that you are trying to build for an iPhone so it could be that you have Android checked in your stacks standalone application settings. Kind Regards, Neil Roger -- LiveCode Support Team ~ http://www.livecode.com -- ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not Compile Application Class
Roger - thanks for the suggestion. That worked well for me. I also discovered in poking around a little that bluetooth transfers work, too. On 10/11/2014 9:48 PM, Roger Eller wrote: I have found that if the device doesn't mount as a USB drive, the next best method is dropbox. Install dropbox on both the computer and the device. Share a folder on the computer and drop the apk in there. Touch the apk and install it. Sent from my Android tablet ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not Compile Application Class
Hi Ray, Did you recently re-install or update LiveCode? Have a look at the preferences. LiveCode may have forgotten where to look for the Android APK. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 15:57, Ray wrote: I'm in Livecode 6.6.2, the most recent stable version, on Windows 8.1, and I'm getting an error of could not compile application class when I try to save as a simple Hello World standalone for Android. Sounds like something you'd see in Visual Studio C sharp or something, not a very Livecode type of an error. Any ideas? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not Compile Application Class
You're right. I haven't downloaded the Android APK. I guess that's kind of like the requirement to download xCode on the Mac side. Would you happen to have a link? I'm looking all over the place and can't find a simple link to download this. Thanks... On 10/11/2014 11:00 AM, Mark Schonewille wrote: Hi Ray, Did you recently re-install or update LiveCode? Have a look at the preferences. LiveCode may have forgotten where to look for the Android APK. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 15:57, Ray wrote: I'm in Livecode 6.6.2, the most recent stable version, on Windows 8.1, and I'm getting an error of could not compile application class when I try to save as a simple Hello World standalone for Android. Sounds like something you'd see in Visual Studio C sharp or something, not a very Livecode type of an error. Any ideas? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not Compile Application Class
Ray, Go here https://developer.android.com/sdk/index.html?hl=i and click on Get the SDK for an existing IDE. Download and install in your program files folder. I have it installed in C:\Program Files (x86)\Android and have pointed LiveCode towards C:\Program Files (x86)\Android\android-sdk. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 16:37, Ray wrote: You're right. I haven't downloaded the Android APK. I guess that's kind of like the requirement to download xCode on the Mac side. Would you happen to have a link? I'm looking all over the place and can't find a simple link to download this. Thanks... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not Compile Application Class
Mark, I think I'm about 90% the way there. I've installed both the Jave SE Development Kit as well as the Android SDK package you've pointed me to. The only error I'm getting is when I point the Mobile Support preference in Livecode to the folder you've indicated below I get an error from Livecode that says the chosen folder isn't a valid Android SDK. Do you have any ideas as to how I can verify I've installed it correctly and enabled Android 2.2 (Froyo) ad it's also asking me to do? Thanks... On 10/11/2014 11:52 AM, Mark Schonewille wrote: Ray, Go here https://developer.android.com/sdk/index.html?hl=i and click on Get the SDK for an existing IDE. Download and install in your program files folder. I have it installed in C:\Program Files (x86)\Android and have pointed LiveCode towards C:\Program Files (x86)\Android\android-sdk. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 16:37, Ray wrote: You're right. I haven't downloaded the Android APK. I guess that's kind of like the requirement to download xCode on the Mac side. Would you happen to have a link? I'm looking all over the place and can't find a simple link to download this. Thanks... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not Compile Application Class
Ray, this is a known problem. The file zipalign is missing. See http://forums.livecode.com/viewtopic.php?f=53t=20966 There you can also find the missing file. Regards, Matthias Am 11.10.2014 um 17:21 schrieb Ray r...@linkit.com: Mark, I think I'm about 90% the way there. I've installed both the Jave SE Development Kit as well as the Android SDK package you've pointed me to. The only error I'm getting is when I point the Mobile Support preference in Livecode to the folder you've indicated below I get an error from Livecode that says the chosen folder isn't a valid Android SDK. Do you have any ideas as to how I can verify I've installed it correctly and enabled Android 2.2 (Froyo) ad it's also asking me to do? Thanks... On 10/11/2014 11:52 AM, Mark Schonewille wrote: Ray, Go here https://developer.android.com/sdk/index.html?hl=i and click on Get the SDK for an existing IDE. Download and install in your program files folder. I have it installed in C:\Program Files (x86)\Android and have pointed LiveCode towards C:\Program Files (x86)\Android\android-sdk. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 16:37, Ray wrote: You're right. I haven't downloaded the Android APK. I guess that's kind of like the requirement to download xCode on the Mac side. Would you happen to have a link? I'm looking all over the place and can't find a simple link to download this. Thanks... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not Compile Application Class
Hi Ray, Double-click the file SDK-manager.exe and wait until it is visible. You'll see a list with checkboxes and Android versions. Select Android 2.2 (API 8) and click on Install. This should do it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 17:21, Ray wrote: Mark, I think I'm about 90% the way there. I've installed both the Jave SE Development Kit as well as the Android SDK package you've pointed me to. The only error I'm getting is when I point the Mobile Support preference in Livecode to the folder you've indicated below I get an error from Livecode that says the chosen folder isn't a valid Android SDK. Do you have any ideas as to how I can verify I've installed it correctly and enabled Android 2.2 (Froyo) ad it's also asking me to do? Thanks... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not Compile Application Class
Mark, Matthias, Thanks to both of you guys for your help today! I ended up with success using both of your ideas. Here it is: 1) I installed the Android SDK as Mark suggested. This also required me to install the Java SDK. 2) I used the SDK Manager to update to Android 2.2 (API 8) as Mark suggested. 3) I downloaded the zipAlign.exe file and moved it over to the Tools folder as Matthias suggested. Finally, I realized none of this could happen as long as I installed the Android SDK in the suggested default location of Programs Files (x86) since they're read-only folders, so I uninstalled and re-installed in my own, write-enabled area. I was then able to set the path in Livecode's preferences and build an Android standalone. Now, can anybody tell me how to get my Hello World standalone over to my Samsung Galaxy S5, 4.4.2 phone? Many thanks On 10/11/2014 2:38 PM, ray wrote: Sent from my Samsung Galaxy smartphone. Original message From: Mark Schonewille m.schonewi...@economy-x-talk.com Date:10/11/2014 12:55 PM (GMT-03:00) To: How to use LiveCode use-livecode@lists.runrev.com Cc: Subject: Re: Could not Compile Application Class Hi Ray, Double-click the file SDK-manager.exe and wait until it is visible. You'll see a list with checkboxes and Android versions. Select Android 2.2 (API 8) and click on Install. This should do it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 17:21, Ray wrote: Mark, I think I'm about 90% the way there. I've installed both the Jave SE Development Kit as well as the Android SDK package you've pointed me to. The only error I'm getting is when I point the Mobile Support preference in Livecode to the folder you've indicated below I get an error from Livecode that says the chosen folder isn't a valid Android SDK. Do you have any ideas as to how I can verify I've installed it correctly and enabled Android 2.2 (Froyo) ad it's also asking me to do? Thanks... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode On 10/11/2014 11:52 AM, Mark Schonewille wrote: Ray, Go here https://developer.android.com/sdk/index.html?hl=i and click on Get the SDK for an existing IDE. Download and install in your program files folder. I have it installed in C:\Program Files (x86)\Android and have pointed LiveCode towards C:\Program Files (x86)\Android\android-sdk. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 16:37, Ray wrote: You're right. I haven't downloaded the Android APK. I guess that's kind of like the requirement to download xCode on the Mac side. Would you happen to have a link? I'm looking all over the place and can't find a simple link to download this. Thanks... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not Compile Application Class
Guys - I've found some lessons on this and I'm well into the ordeal of keys, signatures, signings and so on so please ignore my last request. I think I can weed through this. Thanks! Original Message Subject:Re: Could not Compile Application Class Date: Sat, 11 Oct 2014 16:43:00 -0300 From: Ray r...@linkit.com To: use-livecode@lists.runrev.com Mark, Matthias, Thanks to both of you guys for your help today! I ended up with success using both of your ideas. Here it is: 1) I installed the Android SDK as Mark suggested. This also required me to install the Java SDK. 2) I used the SDK Manager to update to Android 2.2 (API 8) as Mark suggested. 3) I downloaded the zipAlign.exe file and moved it over to the Tools folder as Matthias suggested. Finally, I realized none of this could happen as long as I installed the Android SDK in the suggested default location of Programs Files (x86) since they're read-only folders, so I uninstalled and re-installed in my own, write-enabled area. I was then able to set the path in Livecode's preferences and build an Android standalone. Now, can anybody tell me how to get my Hello World standalone over to my Samsung Galaxy S5, 4.4.2 phone? Many thanks On 10/11/2014 2:38 PM, ray wrote: Sent from my Samsung Galaxy smartphone. Original message From: Mark Schonewille m.schonewi...@economy-x-talk.com Date:10/11/2014 12:55 PM (GMT-03:00) To: How to use LiveCode use-livecode@lists.runrev.com Cc: Subject: Re: Could not Compile Application Class Hi Ray, Double-click the file SDK-manager.exe and wait until it is visible. You'll see a list with checkboxes and Android versions. Select Android 2.2 (API 8) and click on Install. This should do it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 17:21, Ray wrote: Mark, I think I'm about 90% the way there. I've installed both the Jave SE Development Kit as well as the Android SDK package you've pointed me to. The only error I'm getting is when I point the Mobile Support preference in Livecode to the folder you've indicated below I get an error from Livecode that says the chosen folder isn't a valid Android SDK. Do you have any ideas as to how I can verify I've installed it correctly and enabled Android 2.2 (Froyo) ad it's also asking me to do? Thanks... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode On 10/11/2014 11:52 AM, Mark Schonewille wrote: Ray, Go here https://developer.android.com/sdk/index.html?hl=i and click on Get the SDK for an existing IDE. Download and install in your program files folder. I have it installed in C:\Program Files (x86)\Android and have pointed LiveCode towards C:\Program Files (x86)\Android\android-sdk. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 10/11/2014 16:37, Ray wrote: You're right. I haven't downloaded the Android APK. I guess that's kind of like the requirement to download xCode on the Mac side. Would you happen to have a link? I'm looking all over the place and can't find a simple link to download this. Thanks... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not Compile Application Class
Ray- Saturday, October 11, 2014, 12:43:00 PM, you wrote: Now, can anybody tell me how to get my Hello World standalone over to my Samsung Galaxy S5, 4.4.2 phone? I use Android File Transfer on osx. If you set developer mode on the phone and use debug mode, you can use the phone as an external drive. Then just drag the apk file over. -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not Compile Application Class
Mark, Thanks for this suggestion. I'm using Windows 8.1 so the Android File Transfer utility doesn't apply and their website simply says it's not necessary for Windows users. This still left me in the dark, but after a little experimentation I discovered, of all things, Bluetooth is the way to go. I'm finally getting some use from Bluetooth! Just thought you might like to know. Thanks for your input. Ray Horsley LinkIt! Software On 10/11/2014 5:43 PM, Mark Wieder wrote: Ray- Saturday, October 11, 2014, 12:43:00 PM, you wrote: Now, can anybody tell me how to get my Hello World standalone over to my Samsung Galaxy S5, 4.4.2 phone? I use Android File Transfer on osx. If you set developer mode on the phone and use debug mode, you can use the phone as an external drive. Then just drag the apk file over. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not Compile Application Class
Ray- Saturday, October 11, 2014, 2:56:46 PM, you wrote: Thanks for this suggestion. I'm using Windows 8.1 Yeah, sorry... I missed that in your original post. Glad you found something that works. -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not Compile Application Class
No need for apologies at all:) Your suggestion actually got me pointed in the right direction. Regarding the bigger picture, do you think anybody in Edinburgh would be interested in putting together instructions and steps for this? It seems to me we're really discouraging newcomers with the myriad of steps, downloads, configurations, and hit-or-miss setup hoops needed to simply save a Hello World app to a phone. On 10/11/2014 7:33 PM, Mark Wieder wrote: Ray- Saturday, October 11, 2014, 2:56:46 PM, you wrote: Thanks for this suggestion. I'm using Windows 8.1 Yeah, sorry... I missed that in your original post. Glad you found something that works. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Could not Compile Application Class
I have found that if the device doesn't mount as a USB drive, the next best method is dropbox. Install dropbox on both the computer and the device. Share a folder on the computer and drop the apk in there. Touch the apk and install it. Sent from my Android tablet ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode