Trying to setup Android SDK

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
kolia
Posts: 82
Joined: Thu May 28, 2015 3:53 pm

Trying to setup Android SDK

Post by kolia » Tue Sep 29, 2015 7:06 pm

Hello,
Now that I have a running app (on Windows), this is the time to make it working on the target, that is Android.
So as explained here https://livecode.com/app-in-a-day/installation/android/ I installed Java SDK and latest Android SDK. Now I trying to get LC known that Android SDK is installed (it is not installed by default in Windows Program Files but in C:\Users\Nicolas\AppData\Local\Android\android-sdk). So when I tell LC the path I get the following error message: The choosen folder is not a valid Android SDK. Please ensure that you have installed it correctly, and enabled support for Android 2.2 (Froyo)
Well, what can be done?
Thank you
Nicolas
Nicolas
LC 7.1 on Windows 8.1 and on MAC OS 10.10.5 Xcode 6.4 - 7.1

kolia
Posts: 82
Joined: Thu May 28, 2015 3:53 pm

Re: Trying to setup Android SDK

Post by kolia » Wed Sep 30, 2015 7:51 am

Hello,
In the meantime I tried to get it sorted out, without success though.
As far as Android setup is concerned here is my current configuration:
- Android SDK Tools 24.4, Platform-Tools 23.0.1, Build-tools 23.0.1 installed
- Android API 23: installed
- Android support Library 23.0.1: installed
- Java SDK installed with MYJAVA env variable path in place

Shall I revert to Android Build Tools 22.0.1 and API 8? (current API version is 23, would be pretty strange)
This thing is really a nightmare...
Thanks for any help
Nicolas
Nicolas
LC 7.1 on Windows 8.1 and on MAC OS 10.10.5 Xcode 6.4 - 7.1

Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: Trying to setup Android SDK

Post by Simon » Wed Sep 30, 2015 11:15 am

Hi Nicolas,
You still haven't said if you've enabled support for Android 2.2 API 8 from the SDK Manager.

Simon
Attachments
2015-09-30_0318.png
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!

kolia
Posts: 82
Joined: Thu May 28, 2015 3:53 pm

Re: Trying to setup Android SDK

Post by kolia » Wed Sep 30, 2015 11:35 am

Sorry, since my last post I should have reported that I update the Android installation. What is installed now:
- SDK Tools 24.4
- SDK platform-tools 23.0.1
- SDK build-tools 23.0.1
- SDK build-tools 22.0.1
- Android 2.2 API 8
- Support Library 23.0.1
- Google USB driver 11

No more, no less. Still can't setup preferences in LC.

Edit 1: btw Under API 8 I've only the three first items.
Nicolas
Nicolas
LC 7.1 on Windows 8.1 and on MAC OS 10.10.5 Xcode 6.4 - 7.1

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

Re: Trying to setup Android SDK

Post by MaxV » Wed Sep 30, 2015 3:09 pm

Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

kolia
Posts: 82
Joined: Thu May 28, 2015 3:53 pm

Re: Trying to setup Android SDK

Post by kolia » Wed Sep 30, 2015 7:04 pm

Thanks to the link provided, it is setup now. Thank you
Nicolas
Nicolas
LC 7.1 on Windows 8.1 and on MAC OS 10.10.5 Xcode 6.4 - 7.1

Post Reply