Page 1 of 1

Can't Locate SDK Root

Posted: Wed Mar 04, 2015 1:54 pm
by johnmiller1950
I am using LiveCode 7.0.3 under Mavericks.

I have set up an AVD, but the AVD Manager writes this file to an invisible folder called ".Android"

I used the terminal to show these files in the finder, but when I try to set up "Mobile Support" in the LiveCode preferences, I am forced to use the browser which does not see the folder I need.

What can I do?

Thanks for your help.

John

Re: Can't Locate SDK Root

Posted: Wed Mar 04, 2015 5:43 pm
by MaxV
First of all, when you use a Linux file manager with CTR+H (hidden) you see the hidden files and folder.
By the way, Android SDK installation on Linux is just an unzipping of the SDK, so in livecode you should put just the folder where you unzipped the SDK.
The hidden folders of the AVD are not for livecode.

Re: Can't Locate SDK Root

Posted: Wed Mar 04, 2015 6:04 pm
by jacque
The LiveCode prefs only want the path to the main SDK folder, wherever you installed it after you downloaded it.

Re: Can't Locate SDK Root

Posted: Thu Mar 05, 2015 11:57 am
by johnmiller1950
OK! When the android SDK was unzipped, it was automatically written to my developer's folder. It has the name "android-dk-macosx"

When I select this folder I get the following 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)"

When I drill down into this folder there are 11 subfolders: "tools, temp, add-ons, sample, platforms, extras, system-images, sources, docs, build tools, platform-tools). If I select any of these, I get the same error message as above.

I'm pretty sure than the SDK was installed correctly because it allowed be to creat an AVD which is in the hidden folder mentioned in my original post.

Any other ideas?

Re: Can't Locate SDK Root

Posted: Thu Mar 05, 2015 6:07 pm
by MaxV
You must launch Android SDK manager select and download at least:
  • all tools
  • Android API 2.2 (and all other API you need)
  • all extras

Re: Can't Locate SDK Root

Posted: Thu Mar 05, 2015 9:10 pm
by johnmiller1950
Thanks Everybody!

I downloaded all of the extras like Max suggested, and LiveCode is good to go.

LiveCode Forums rock

John