Page 1 of 1

Error: The chosen folder is not a valid Android SDK.

Posted: Sat Jun 28, 2014 4:39 am
by Gambiteer
I am trying to configure LiveCode for Android support by selecting the "Location of Android development SDK root" under the "Mobile Support" tab in "Preferences". Here is my file path for the SDK:

C:\Program Files (x86)\Android\android-sdk

But I get an error that says "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 have installed the 2.2 packages so that's not the problem (I think). There was a related thread in the Android section of the forums (http://forums.livecode.com/viewtopic.php?f=53&t=15215) but most of the discussion took place 9 or so months ago and I don't know if anything has changed. The two most recent replies, which are from today (June 27th), are asking specifically in regard to Linux, but I am developing on Windows.

Any ideas on how to get LiveCode to recognize the valid SDK?

Re: Error: The chosen folder is not a valid Android SDK.

Posted: Sat Jun 28, 2014 4:46 am
by Simon
Hi Gambiteer,
Welcome to the forum! :)

Just a check... you are just highlighting the folder android-sdk and not opening it right?
And you installed the Java sdk?

Simon

Re: Error: The chosen folder is not a valid Android SDK.

Posted: Sat Jun 28, 2014 4:33 pm
by Gambiteer
Thank you :)

I have installed the JDK and, yes, the folder I am selecting is the "android-sdk" folder itself, not anything inside it.

Re: Error: The chosen folder is not a valid Android SDK.

Posted: Sun Jun 29, 2014 9:00 am
by Tribblehunter
Getting the same problem here. it happened after updating the android SDK manager.

have posted in windows section as well

Re: Error: The chosen folder is not a valid Android SDK.

Posted: Sun Jun 29, 2014 9:34 am
by keram
Tribblehunter wrote:it happened after updating the android SDK manager
Updating to which version?

Re: Error: The chosen folder is not a valid Android SDK.

Posted: Sun Jun 29, 2014 8:25 pm
by Tribblehunter
the latest. Just removed all android sdk and loaded latest from android. Same problem.

there are some references to this problem on here and on dev sites I am led to believe.

Re: Error: The chosen folder is not a valid Android SDK.

Posted: Sun Jun 29, 2014 10:26 pm
by Gambiteer
After some looking around, I believe this problem is present in revisions 22 and 23 (the latest) of the SDK, but not in 21.

Re: Error: The chosen folder is not a valid Android SDK.

Posted: Sun Jun 29, 2014 10:44 pm
by Simon
Hi Gambiteer,
The ver 22 error was fixed in liveCode version 6.2 I think.
I'm on win 7 and running Android sdk manager 22.6.3

Simon

Re: Error: The chosen folder is not a valid Android SDK.

Posted: Mon Jun 30, 2014 4:49 pm
by Gambiteer
I am using Livecode Community 6.6.2 and the error persists

Re: Error: The chosen folder is not a valid Android SDK.

Posted: Mon Jun 30, 2014 8:08 pm
by Tribblehunter
same here.

version 6.6.2 livecode commercial

SDK manager 23.0

Windows 8.1

Anyone else out there got this problem??

Re: Error: The chosen folder is not a valid Android SDK.

Posted: Tue Jul 01, 2014 11:12 am
by LCNeil
Hi Everyone,

Thank you for bringing this to our attention.

We now have a bug report on the issue and out dev team will be looking to put a fix out asap-

http://quality.runrev.com/show_bug.cgi?id=12719

What seems to have happened it the required zipalign file, which was previously present in "sdk/tools" is now present in "sdk/build-tools/<version>/". If you wish to workaround this issue until we have resolved the issue, please copy the zipalign file (emphasise copy :) ) from its new location to the tools directory.

Once you have done this, you should be able to link the SDK to LiveCOde with no error being thrown.

Kind Regards,


Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
——

Re: Error: The chosen folder is not a valid Android SDK.

Posted: Tue Jul 01, 2014 9:11 pm
by Tribblehunter
Thanks guys. Work around works around...

Onwards with the challenge! (Livecode beginner, but catching up fast)