LiveCode can't locate Android SDK

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
croivo
Posts: 111
Joined: Wed Feb 26, 2014 11:02 pm

LiveCode can't locate Android SDK

Post by croivo »

I've installed Java SDK and Android SDK (latest versions), but when I go to Edit > Preferences > Mobile Support and click on browse button to locate Android SDK, I get message "The chosen folder is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 2.2 (Froyo)". I've installed 2.2 API version on Android SDK... Pls help
sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: LiveCode can't locate Android SDK

Post by sefrojones »

Have you tried RunRevNeils fix from this thread?

http://forums.livecode.com/viewtopic.ph ... dk#p107308


--Sefro
LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: LiveCode can't locate Android SDK

Post by LCNeil »

Hi croivo

It sounds like you are experiencing the know bug between the latest versions of the Android SDK (r23) and LiveCode.

There are two current methods to resolve this issue until a fix has been implemented-

1) Use the zipalign workaround mentioned in the following bug report http://quality.runrev.com/show_bug.cgi?id=12719 & forum post here http://forums.livecode.com/viewtopic.php?f=53&t=20966

2) Download an older revision of the SDK (r22) and use this instead.

There is a fix scheduled for this issue in the next release of LiveCode.

Kind Regards,


Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: LiveCode can't locate Android SDK

Post by LCNeil »

sefrojones wrote:Have you tried RunRevNeils fix from this thread?

http://forums.livecode.com/viewtopic.ph ... dk#p107308


--Sefro
you beat me to it sefro :)
croivo
Posts: 111
Joined: Wed Feb 26, 2014 11:02 pm

Re: LiveCode can't locate Android SDK

Post by croivo »

When I run zipalign.exe it shows up cmd window for less than 1 second... How to fix it?
sefrojones
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 447
Joined: Mon Jan 23, 2012 12:46 pm

Re: LiveCode can't locate Android SDK

Post by sefrojones »

croivo wrote:When I run zipalign.exe it shows up cmd window for less than 1 second... How to fix it?

I've only ever used zipalign from the command line. That being said, you shouldn't have to run it , just copy it to the proper location (the tools folder) AFAIK... :)

--Sefro
Post Reply