How can I connect the Android SDK to LiveCode

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
joop1943
Posts: 10
Joined: Thu Oct 10, 2013 1:10 pm

How can I connect the Android SDK to LiveCode

Post by joop1943 » Fri Oct 18, 2013 4:06 pm

Hi all,

Can anyone tell me how I can connect the Android SDK to LiveCode on a iMac (With OSX 10.8.5)

I'd like to develop programs for iOS and Android but i'm a beginner on mobile development.

I start LiveCode 6.1.2 and select LiveCode --> Preferences --> Mobile Support.
Adding Apples Xcode to the iOS SDK's is no problem, but when I want to ad the Android SDK it won't work. I do get the message:
"The chosen folder (i selected android-sdk-macosx) is not a valid Android SDK. Please ensure you have installed it correctly, and enabled support for Android 2.2 (Froyo)>"

Before I got that message I did the following:
I surfed to the developer site of android for downloading a SDK.
I downloaded by pushing the blue button that says "Download the SDK ADT bundle for mac".
Extracted the zip-file and moved the map named "adt-bundle-mac-x86_64-20130917" to my Developer map, opened that map, opened the sdk map and the tools map and started android. Followed the instructions.
In LiveCode i selected the map named sdk inside that bundle-map.
I did get the above message. Won't work.

then:
On the same page from that site I downloaded the Android SDK Tools. Extracted the zip file android-sdk-macosx.
Then I followed same procedure as above in LiveCode I did select the map android-sdk-macosx with the same result and message.

Then on the same page I chose "Download for other platforms". I chose to download the package "android-sdk-r22.2.1-macosx.zip" for Mac OS X 32 & 64-bit.
Same procedure. That did work!!! (I thought)

I bought the book "LiveCode Mobile development" from Colin Holgate.
But on page 60 I crashed on point 4.

The book says:
Open "Android".
(The program "Terminal" started and after that the "Android SDK Manager" started.)
From the "Tools" - menu I select "Manage AVDs...".
("Android Virtual Device Manager" opens.)

But under "Android Virtual Devices" it says "No AVD available".

On point 4 page 60 it says: "Select Tablet from the lis of devices" … etc.
But it doesn't show any Device listed.
(The book says: "there should be two, one is called "Tablet".)

The read me document that comes with the download says nothing about Virtual Devices and how to get them.

Can anyone tell me how I can connect the Android SDK to LiveCode?

Thanks in advance,

Joop Sleijster

shaosean
Posts: 906
Joined: Thu Nov 04, 2010 7:53 am

Re: How can I connect the Android SDK to LiveCode

Post by shaosean » Sun Oct 20, 2013 2:37 am

This should probably be moved to the Android section

Klaus
Posts: 14182
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: How can I connect the Android SDK to LiveCode

Post by Klaus » Sun Oct 20, 2013 11:38 am

Yes, probably... 8)

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: How can I connect the Android SDK to LiveCode

Post by LCNeil » Mon Oct 21, 2013 11:39 am

Hi Joop,

The following Video lesson will be able to get you up and running with Android deployment from within Livecode.

http://www.youtube.com/watch?v=83qrKr9bR3M

Kind Regards,

Neil Roger

--
RunRev Support Team ~ http://www.runrev.com
--

joop1943
Posts: 10
Joined: Thu Oct 10, 2013 1:10 pm

Re: How can I connect the Android SDK to LiveCode

Post by joop1943 » Fri Oct 25, 2013 12:42 pm

Thank you for replacing my post.
Thank you Neil for the link to the youtube film.
It was very clear and easy to follow.
All worked perfect for android SDK installation.

Again thanks for our effort,

Regards,

Joop Sleijster

Post Reply