Download which Android tools?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Download which Android tools?
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...
Re: Download which Android tools?
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.
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.
-
- Posts: 617
- Joined: Wed Apr 24, 2013 4:53 pm
- Contact:
Re: Download which Android tools?
See this discussion in the FaceBook LiveCode group, might help:
https://www.facebook.com/groups/livecod ... &ref=notif
https://www.facebook.com/groups/livecod ... &ref=notif
Re: Download which Android tools?
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
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
-
- Posts: 12
- Joined: Thu Feb 12, 2015 12:22 pm
Re: Download which Android tools?
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!
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!
Re: Download which Android tools?
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
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: Download which Android tools?
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?
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Download which Android tools?
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
HyperActive Software | http://www.hyperactivesw.com
Re: Download which Android tools?
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?
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?
Re: Download which Android tools?
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. 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. 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.
Then you need to create an AVD, an Android Emulator.
Click on this icon in the right top corner and create one. 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. 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.