Error: The chosen folder is not a valid Android SDK.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Error: The chosen folder is not a valid Android SDK.
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?
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.
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
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
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Error: The chosen folder is not a valid Android SDK.
Thank you 
I have installed the JDK and, yes, the folder I am selecting is the "android-sdk" folder itself, not anything inside it.

I have installed the JDK and, yes, the folder I am selecting is the "android-sdk" folder itself, not anything inside it.
-
- Posts: 78
- Joined: Wed Apr 10, 2013 9:08 pm
Re: Error: The chosen folder is not a valid Android SDK.
Getting the same problem here. it happened after updating the android SDK manager.
have posted in windows section as well
have posted in windows section as well
Returning to try to learn livecode again.
But much greyer at the temples than the last time.
But much greyer at the temples than the last time.
Re: Error: The chosen folder is not a valid Android SDK.
Updating to which version?Tribblehunter wrote:it happened after updating the android SDK manager
Using the latest stable version of LC Community 6.7.x on Win 7 Home Premium, 64bit
-
- Posts: 78
- Joined: Wed Apr 10, 2013 9:08 pm
Re: Error: The chosen folder is not a valid Android SDK.
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.
there are some references to this problem on here and on dev sites I am led to believe.
Returning to try to learn livecode again.
But much greyer at the temples than the last time.
But much greyer at the temples than the last time.
Re: Error: The chosen folder is not a valid Android SDK.
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.
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
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
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Error: The chosen folder is not a valid Android SDK.
I am using Livecode Community 6.6.2 and the error persists
-
- Posts: 78
- Joined: Wed Apr 10, 2013 9:08 pm
Re: Error: The chosen folder is not a valid Android SDK.
same here.
version 6.6.2 livecode commercial
SDK manager 23.0
Windows 8.1
Anyone else out there got this problem??
version 6.6.2 livecode commercial
SDK manager 23.0
Windows 8.1
Anyone else out there got this problem??
Returning to try to learn livecode again.
But much greyer at the temples than the last time.
But much greyer at the temples than the last time.
Re: Error: The chosen folder is not a valid Android SDK.
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
——
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

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
——
-
- Posts: 78
- Joined: Wed Apr 10, 2013 9:08 pm
Re: Error: The chosen folder is not a valid Android SDK.
Thanks guys. Work around works around...
Onwards with the challenge! (Livecode beginner, but catching up fast)
Onwards with the challenge! (Livecode beginner, but catching up fast)
Returning to try to learn livecode again.
But much greyer at the temples than the last time.
But much greyer at the temples than the last time.