which SDK components are required?

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
keram
Posts: 340
Joined: Fri Nov 08, 2013 4:22 am

which SDK components are required?

Post by keram » Wed Feb 04, 2015 2:14 am

Hello,

I'd like to get some more clarity in how the SDK manager works, which components are required for creating a standalone and which ones are required for testing in the emulator.

See the screen shot on what I have installed now.

As I understand I have to have installed at least Android 2.2 (API8) for LC to work and better to have Android 2.3.3 (API19) as well.
My app at present is just a simple one displaying pages with a text and images imported to the stack - no fancy features.
Will that be sufficient to create a simple standalone that runs on all devices, even the newest ones with Android 4 or 5?
Or do I have to install the newer versions as well, e.g. Android 4.2 and 5.0.1?

Which components in the respective versions are needed as a basic, minimum requirement?
Are all the versions of build-tools necessary?
Which System Images are needed?
Is Goggle APIs needed?
etc.

I've read on the Forum that some of the SDK Tools are not compatible with some of the LC versions. How to find out that?

Thanks for any clarification.

keram
components 150204.png
the SDK components that I have installed now
Using the latest stable version of LC Community 6.7.x on Win 7 Home Premium, 64bit

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

Re: which SDK components are required?

Post by jacque » Wed Feb 04, 2015 10:30 pm

I'd like to know this too. Because I am never sure, I install everything (not the samples and docs, but all the images and build tools.) Since LC requires that 2.2 be installed, I think in this case I'd install all the vs 18 build tools also.

It would be nice if an RR team member could clarify what's required. There's a whole lot of files in the SDK and it would be great to be able to delete some if they aren't necessary.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

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

Re: which SDK components are required?

Post by MaxV » Thu Feb 05, 2015 5:44 pm

You need the 2.2, tools and extras; otherwise Livecode library check doesn't recognise Android. Moreover I suggest you 4.2; because emulators using 2.2 crash too much with livecode (but just the emulator, livecode apps with real devices work great).
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

dave.kilroy
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 858
Joined: Wed Jun 24, 2009 1:17 pm
Contact:

Re: which SDK components are required?

Post by dave.kilroy » Wed Feb 11, 2015 1:14 pm

Hi all

I installed Android over the weekend, emulator seems to work as does a real device (running lollipop) - but I've only tried it with 'Hello World' stuff...

I've got the following installed:

Tools
Android SDK Tools 24.0.2
Android SDK Platform-tools 21
Android SDK Build-tools 21.1.2
Android SDK Build-tools 20

Then I downloaded all of:
Android 5.0.1 (API 21)
Android 4.4W.2 (API 20)
Android 4.4.2 (API 19)
Android 4.3.1 (API 18)
Android 4.2.2 (API 17)
Android 4.1.2 (API 16)
Android 4.0.3 (API 15)
Android 4.0 (API 14)
Android 3.2 (API 13)
Android 3.1 (API 12)
Android 3.0 (API 11)
Android 2.3.3 (API 10)
Android 2.2 (API 8)
Android 2.1 (API 7)
Android 1.6 (API 4)
Android 1.5 (API 3)

Then in extras:
Android Support Library 21.0.3

It seems OK but haven't used it with anything other than kitkat on emulator and lollipop on a real device - both times with a simple 'hello world' test

Does what I've got away with shed any light? And/or which bits could I ditch?

Kind regards

Dave
"...this is not the code you are looking for..."

keram
Posts: 340
Joined: Fri Nov 08, 2013 4:22 am

Re: which SDK components are required?

Post by keram » Thu Feb 12, 2015 12:48 am

Hi,

I found few pages that contain somewhat more clear description about this.
Here: http://www.androidauthority.com/how-to- ... kit-21137/
Read especially under the Recommended Components
Note: Once you’ve installed at least the basic configuration of SDK components, you’re ready to start developing Android apps.
-----------------
And also here: https://www3.ntu.edu.sg/home/ehchua/pro ... HowTo.html
they say: For novices, select "Android SDK Platform-Tools", and at least one (the latest) Android platform (e.g., Android 4.4 (API 19)) ⇒ "Install".

keram
Using the latest stable version of LC Community 6.7.x on Win 7 Home Premium, 64bit

Post Reply