Page 2 of 2

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

Posted: Fri Jun 27, 2014 10:18 pm
by sefrojones
I recently moved to Ubuntu 14.04, I was able to get everything running properly using this tutorial:

http://lessons.runrev.com/m/2571/l/8075 ... r-on-linux


I did have to set the preferences of the file manager to "run files as scripts" or something like that before running the android-sdk-linux/tools/android script in the above lesson.

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

Posted: Sat Jun 28, 2014 4:34 pm
by Gambiteer
I am getting this error on Windows.

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

Posted: Sat Jun 28, 2014 4:52 pm
by sefrojones
Have you followed this tutorial?

http://lessons.runrev.com/m/2571/l/2738 ... er-on-a-pc


The last time I installed LC and the Android/Java SDks I remember having a similar problem. Here's what worked for me(from an old thread):
I recently ran in to a bit of trouble with the emulator/ test devices. This is what worked for me:

I uninstalled everything java, and the android sdk

Reinstall JDK

Reinstall android SDK and install packages for 2.2.2 and 2.3.3

Reinstall java for my browser

Restart computer


After I did this, I was able to launch an app on an emulated device and on a test device. I am using 6.6.2 (rc2) and 6.5.2 on a 64 bit windows 7 machine. Hope this helps.

Hopefully this helps a bit.

-_Sefro

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

Posted: Sun Jun 29, 2014 12:42 am
by Gambiteer
I did follow that tutorial (except the JDK part, I already had that installed as I've worked with Java in the past). If I follow your instructions from an old thread, should I only install Android 2.2.2 and 2.3.3? Or could I also install a more recent version like 4.4? In other words, would my app be limited working with only older versions of Android? (Sorry if this is a dumb question, I'm a beginner)

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

Posted: Sun Jun 29, 2014 1:08 am
by sefrojones
You can install other versions, but you need 2.2.2 and 2.3.3 in order to use livecode. I have 4.4.2 installed as well, and when using the emulator I can test my livecode apps on a 4.4.2 AVD.


-_Sefro

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

Posted: Sun Jun 29, 2014 3:27 am
by Gambiteer
Thank you for your help _Sefro

Unfortunately, after following your instructions, the error message still appears. Do you have any more ideas?

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

Posted: Sun Jun 29, 2014 3:43 am
by sefrojones
I'm not too sure. I do know that there is a way to get it working, as a installed all of this on my win 7 partition a couple months ago. Out of curiosity, what version of LiveCode are you using?

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

Posted: Sun Jun 29, 2014 10:27 pm
by Gambiteer
Livecode Community 6.6.2

When you got this working, what revision of the android SDK were you running?

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

Posted: Sun Jun 29, 2014 11:04 pm
by sefrojones
It was on or around January 13th of this year, and I installed the android SDK rev 22.6.3

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

Posted: Fri Jul 11, 2014 8:24 am
by viro
In case someone searches for quick solution:
Android Minimal SDK with API8

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

Posted: Mon Jul 14, 2014 10:53 pm
by vasso123
I tried to "connect" the newest Android SDK with newest Livecode on Linux, but with no success. Why is this such a problem? It seems that there is no solution?

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

Posted: Mon Aug 18, 2014 6:29 am
by junryl
Looks like this will no longer work on Livecode 6.6.2. Have anyone successfully adding Android SDK on this livecode version?

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

Posted: Mon Aug 18, 2014 7:10 am
by sefrojones
I've got it working in Ubuntu and Windows 7...

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

Posted: Mon Aug 18, 2014 10:28 am
by LCNeil
Hi Guys,

The latest Android SDK (r23) is not compatible with version 6.6.2+ of LiveCode. We are aware of this issue and it is scheduled to be fixed in the next release of LiveCode.

More information on this can be found here-

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

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

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


Kind Regards,


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

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

Posted: Sat Sep 06, 2014 9:11 am
by Einherjar
Is there any update on when this issue will be fixed / supported by LiveCode?