Page 1 of 1

Problem with upgrade to 6.5.1 Commercial

Posted: Tue Jan 21, 2014 6:18 am
by jiba
Any help would be greatly appreciated, thanks in advance.

I purchased the 6.5.1 and upgraded from the Community 6.1.0. I used to be able to generate standalone Android applications. Ever since I moved to 6.5.1, I get the following error: "There was an error while saving your standalone application could not compile application class.

I have installed the commercial 6.1.0 and it appears to compile correctly. Does anyone know if something changed between 6.1.0 and 6.1.1-6.5.1 that needs to be included to compile to standalone. I can uninstall 6.5.1 and install the 6.1.0 and it compiles all my code for android but as soon as I move to 6.1.1 or higher I get the above message.

Current configuration:
I am running on Windows 7 64bit SP1
Java version - 1.6.0_25
Android SDK - adt-bundle-windows-x86-20131030 - 2.2 through 3.1 SDK's
LiveCode Commercial 6.5.1

Also tried LiveCode Commercial 6.1.0 - works, 6.1.3 does not (same error as above), Commercial 6.5.0 does not (same error as above)
Also tried LiveCode Community 6.1.0 - works, 6.1.1 does not (same error as above)
Also tried and removed Android SDK - adt-bundle-windows-x86_64-20130917 - 2.2 through 4.3 SDK's (same results as above)

I have gone through the forums, I created the signing key - no effect, tried development only - no effect, etc..., changing the name, and reducing my code to 2 cards with a single button.

Re: Problem with upgrade to 6.5.1 Commercial

Posted: Tue Jan 21, 2014 4:40 pm
by jacque
The Android SDK changed where it stores some files and LC also had to change where it looks for them. Make sure you have downloaded all the latest updates for Android adb, that usually fixes the error.

Re: Problem with upgrade to 6.5.1 Commercial

Posted: Tue Jan 21, 2014 10:23 pm
by LC4iOS
Can you post a snapshot of your Livecode Preferences Mobile Support Page?

LiveCode | Preferences ... | Mobile Support

Paying particular attention to Android SDK | JDK Path

Where the JDK path may be blank or pointing to the wrong one of many paths.

Re: Problem with upgrade to 6.5.1 Commercial

Posted: Wed Jan 22, 2014 12:48 am
by jiba
Here is a copy of my mobile pref page -

Re: Problem with upgrade to 6.5.1 Commercial

Posted: Wed Jan 22, 2014 7:10 pm
by jacque
Jiba's image is a better example than mine would be. Since I'm on a Mac, there is no JDK path (it is automatically located on a Mac) and the name of my SDK is much different.

Try installing the Android 4.4 SDK (or maybe any of the 4.x SDKs will work, I'm not sure. I have them all installed.) The change in file locations occurred in 4.x I believe.

Re: Problem with upgrade to 6.5.1 Commercial

Posted: Wed Jan 22, 2014 8:23 pm
by jacque
LC 6.5.2 RC 1 was just announced, and it turns out your problem was a bug in the standalone builder. This latest RC release fixes it. It isn't a stable release yet, but you could try installing it and see if it helps.

Solved Re: Problem with upgrade to 6.5.1 Commercial

Posted: Thu Jan 23, 2014 4:24 am
by jiba
Jacque, thank you for your note about 6.5.2 RC1. I installed it and the problem appears to be fixed. I can now gen' independent apps again. Would you mind telling me where you can go to find bugs? I looked at the bug tracker and tried to do a search but could not find the Android issue listed.

Thanks again

Re: Problem with upgrade to 6.5.1 Commercial

Posted: Thu Jan 23, 2014 5:09 am
by jacque
The announcements for new builds are posted to the mailing list, which far pre-dates these forums and has a larger number of professional developers. Each announcement contains a list of all bug fixes and new features in the build, so that's where I noticed the fix. Anyone is welcome to join the list: http://lists.runrev.com/mailman/listinfo/use-livecode/

Alternately you can do an advanced search in the bug database with only the version number in the search parameters. There's an entry field there for that and I believe that's how the list is generated for the announcements.