Download which Android tools?

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

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
exmaria
Posts: 4
Joined: Wed Jan 31, 2018 3:54 pm

Download which Android tools?

Post by exmaria » Wed Jan 31, 2018 4:19 pm

I've been going in circles through the various help pages (and comments) explaining how to set up for Android development (for LiveCode 8.1.8 ), and I still am unclear on which Android thing I'm supposed to download, due to seemingly conflicting info - the Studio? Not the Studio? The latest version of the Studio, but an older version of Android from within the Studio? An older version of the Studio, and then also the older version of Android? Just the 24.4.1 tools from filehippo? Something else? Please advise...

sphere
Posts: 954
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: Download which Android tools?

Post by sphere » Thu Feb 01, 2018 7:39 pm

Hi Maria,

the easiest way is just download the Android Studio latest stable.
In that program you can select the minimum needed sdk to use with livecode.
But you can export to any android version you want. But LC needs a minimum SDK version.
Also instal the JDK JAVA 8. (not SDK but JDK)

On the same page where you can download Studio, if you scroll down then you can download only the tools to install sdk only so no GUI.
But this is more difficult and goes via command line.

I would say go for easy.
2018 Worldwide Mobile Market share: Android 84.4% !!!, iOs 15.1%, others 0.1%

PaulDaMacMan
Posts: 197
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: Download which Android tools?

Post by PaulDaMacMan » Thu Feb 01, 2018 7:43 pm

See this discussion in the FaceBook LiveCode group, might help:
https://www.facebook.com/groups/livecod ... &ref=notif
https://github.com/PaulMcClernan/

MaxV
Posts: 1574
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: Download which Android tools?

Post by MaxV » Fri Feb 02, 2018 2:28 pm

Just the Android SDK doesn't exist anymore, you have to download all the studio now.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

dbeugeling
Posts: 4
Joined: Thu Feb 12, 2015 12:22 pm

Re: Download which Android tools?

Post by dbeugeling » Fri Feb 02, 2018 2:37 pm

Hello,

My experiments have shown me that:

You need Android Studio 2.33
Only JDK Version 8 are working (144-172 tested)
Sometimes already written app don'n t compile.
Apps written from scratch are working!

Good luck!

MaxV
Posts: 1574
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: Download which Android tools?

Post by MaxV » Fri Feb 02, 2018 6:43 pm

Adroid Studio has a JDK inside in some folder, I'll let you know.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

user#606
Posts: 217
Joined: Sun Jan 27, 2008 12:25 pm
Location: Alderney, Channel Islands
Contact:

Re: Download which Android tools?

Post by user#606 » Thu Feb 15, 2018 12:21 pm

Fine, Studio and a compatible sdk and JDK are installed, but how do you set up the emulator bits (the lessons are outdated) so the greyed out TEST button on the Livecode tool bar becomes active?

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5138
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Download which Android tools?

Post by jacque » Thu Feb 15, 2018 7:03 pm

Make sure you have selected Android as a build option in standalone settings.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

user#606
Posts: 217
Joined: Sun Jan 27, 2008 12:25 pm
Location: Alderney, Channel Islands
Contact:

Re: Download which Android tools?

Post by user#606 » Thu Feb 15, 2018 8:50 pm

I did that, Jacque.
The present situation is this.
Win 10, Java 8, Android 4.0.3.
Java & Android have been deleted and re-installed. Android & Java paths are now showing in LC - Mobile Preferences.
The Test icon & in dropdown toolbar menu are still greyed out.
Build for Android (only) set ans an APK file has been created out of a stack with a picture on it. No controls.
The APK has been copied to my phone, but an error message states a parse error when attempting to run the file as an install. The "accept unknown" is enabled.
If the TEST won't work, I thought the APK would and allow me to get on with the project.
Any ideas?

sphere
Posts: 954
Joined: Sat Sep 27, 2014 10:32 am
Location: Earth, Except when i Jump

Re: Download which Android tools?

Post by sphere » Thu Feb 15, 2018 9:51 pm

If you've installed Android Studio and installed all needed packages.
Then you need to create an AVD, an Android Emulator.
Click on this icon in the right top corner and create one.
Knipsel.PNG
Knipsel.PNG (3.44 KiB) Viewed 1619 times
do not use the recommended x86 image but use an ARM 32bit image. Livecode can't use the x86 image yet, but they are blissssstering fast.
So youre stuck with the slow ARM.
Then run the AVD and start livecode once the AVD is running, be patient.
Knipsel.PNG
Or you connect your Android phone and accept your PC. (you have to turn developer mode in your phone first, go to settings, then About this phone, scroll down, tap 7 times on the build number) Now connect the phone via USB to the pc.
2018 Worldwide Mobile Market share: Android 84.4% !!!, iOs 15.1%, others 0.1%

Post Reply

Return to “Android Deployment”