Problem with upgrade to 6.5.1 Commercial

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
jiba
Posts: 3
Joined: Mon Dec 30, 2013 6:40 pm

Problem with upgrade to 6.5.1 Commercial

Post by jiba » Tue Jan 21, 2014 6:18 am

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.
Attachments
Capture2.PNG
Picture of Standalone Settings

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Problem with upgrade to 6.5.1 Commercial

Post by jacque » Tue Jan 21, 2014 4:40 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

LC4iOS
Posts: 88
Joined: Tue Dec 03, 2013 8:15 pm

Re: Problem with upgrade to 6.5.1 Commercial

Post by LC4iOS » Tue Jan 21, 2014 10:23 pm

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.
Thanks to RunRev.
Thanks to LiveCode forum members.

LiveCode v5.5.5 - iOS Android Mac Windows - 6.5 Community
27" 2012 iMac i5, MacBook Pro, MacBook Air, iPhone 5, iPhone 4
xCode 5.0.2 - iOS7 - OS X Mavericks
Paid Apple iOS Developer Program Member

jiba
Posts: 3
Joined: Mon Dec 30, 2013 6:40 pm

Re: Problem with upgrade to 6.5.1 Commercial

Post by jiba » Wed Jan 22, 2014 12:48 am

Here is a copy of my mobile pref page -
Attachments
Capture2.PNG

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Problem with upgrade to 6.5.1 Commercial

Post by jacque » Wed Jan 22, 2014 7:10 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Problem with upgrade to 6.5.1 Commercial

Post by jacque » Wed Jan 22, 2014 8:23 pm

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

jiba
Posts: 3
Joined: Mon Dec 30, 2013 6:40 pm

Solved Re: Problem with upgrade to 6.5.1 Commercial

Post by jiba » Thu Jan 23, 2014 4:24 am

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

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Problem with upgrade to 6.5.1 Commercial

Post by jacque » Thu Jan 23, 2014 5:09 am

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.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply