Can't Locate SDK Root

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
johnmiller1950
Posts: 116
Joined: Mon Apr 30, 2007 3:33 pm

Can't Locate SDK Root

Post by johnmiller1950 » Wed Mar 04, 2015 1:54 pm

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

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Can't Locate SDK Root

Post by MaxV » Wed Mar 04, 2015 5:43 pm

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.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

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

Re: Can't Locate SDK Root

Post by jacque » Wed Mar 04, 2015 6:04 pm

The LiveCode prefs only want the path to the main SDK folder, wherever you installed it after you downloaded it.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

johnmiller1950
Posts: 116
Joined: Mon Apr 30, 2007 3:33 pm

Re: Can't Locate SDK Root

Post by johnmiller1950 » Thu Mar 05, 2015 11:57 am

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?

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Can't Locate SDK Root

Post by MaxV » Thu Mar 05, 2015 6:07 pm

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
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

johnmiller1950
Posts: 116
Joined: Mon Apr 30, 2007 3:33 pm

Re: Can't Locate SDK Root

Post by johnmiller1950 » Thu Mar 05, 2015 9:10 pm

Thanks Everybody!

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

LiveCode Forums rock

John

Post Reply