Exporting standalone
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 108
- Joined: Mon Mar 20, 2017 5:13 am
Exporting standalone
I've been at this for days. I've been trying to export my file as a standalone. Under preferences were you find the folder path for for the Android sdk, I've tried every folder, including appdata, but I still cannot get the jdk path either. I'm screwing up somewhere. Please help me with this.
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Exporting standalone
Where did you save the SDK on your computer? On my Mac the folder name is "android-sdk-macosx" and that's what I selected. If you are on Windows I assume the folder will be similarly named.
Also, did you download only the commandline tools, or did you download Android Studio?
Also, did you download only the commandline tools, or did you download Android Studio?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 108
- Joined: Mon Mar 20, 2017 5:13 am
Re: Exporting standalone
It's quite similar. Here is one of the paths that I've tried: C:/Users/quint/AppData/Local/Android/Sdk.
It didn't work. It still gives me the error: "There was an error while saving the standalone application could not compile service support class". Still, don't understand what I'm doing wrong. I even uninstalled android studio and redownloaded all the supported 4.0.3 & 8.0 os.
It didn't work. It still gives me the error: "There was an error while saving the standalone application could not compile service support class". Still, don't understand what I'm doing wrong. I even uninstalled android studio and redownloaded all the supported 4.0.3 & 8.0 os.
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Exporting standalone
You need the command line tools. I don't use Studio but I believe it has that option in a popdown menu. Did you download those?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Exporting standalone
I just noticed that you don't have Java installed, or at least LC can't find it. You need to install Java 8.x.
https://www.oracle.com/technetwork/java ... 33151.html
There's more info here:
http://lessons.livecode.com/m/2571/l/27 ... er-on-a-pc
https://www.oracle.com/technetwork/java ... 33151.html
There's more info here:
http://lessons.livecode.com/m/2571/l/27 ... er-on-a-pc
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 108
- Joined: Mon Mar 20, 2017 5:13 am
Re: Exporting standalone
Cool beans. I downloaded the software and followed the guide attached. I still remain to receive the following error: "There was an error while saving the standalone application could not compile service support class".
I had java on this computer prior to your message, but I did not have your version of java which livecode couldn't find.
I had java on this computer prior to your message, but I did not have your version of java which livecode couldn't find.
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Exporting standalone
I'm running out of ideas. Did you completely delete the other Java package? Also, you may need to restart LC if you haven't already.
On my setup I have the Android SDK installed (command line tools only , no Studio,) and Java 1.8.0_171 jdk. That's all it took to get a successful Android compile. I'd think your 191 jdk should work okay too, LiveCode only specifies incompatibility with Java 9 and 10.
If you search the forums for "could not compile service support class" you'll get dozens of posts, it's the most common error and you may find an answer I haven't thought of.
On my setup I have the Android SDK installed (command line tools only , no Studio,) and Java 1.8.0_171 jdk. That's all it took to get a successful Android compile. I'd think your 191 jdk should work okay too, LiveCode only specifies incompatibility with Java 9 and 10.
If you search the forums for "could not compile service support class" you'll get dozens of posts, it's the most common error and you may find an answer I haven't thought of.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 108
- Joined: Mon Mar 20, 2017 5:13 am
Re: Exporting standalone
I had uninstalled the previous version of java, and reinstalled it, along with livecode and android studio. I looked at some other posts without prevail.
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Exporting standalone
What LC version? I think that's the only question I haven't asked yet.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 108
- Joined: Mon Mar 20, 2017 5:13 am
Re: Exporting standalone
Livecode: 9.0 Community edition
Android Studio: 3.2.1
Java JDK 191
What else is going on?
Android Studio: 3.2.1
Java JDK 191
What else is going on?
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Exporting standalone
That should work. The only thing I can think of is to have you duplicate my setup, which doesn't include Studio. But since I'm on a Mac and you're on Windows, there may be slightly different ways of accessing the SDK.
Look inside the Android SDK and see if you can find a file named "android" inside a Tools folder. If so, double-click it to launch the Java app which will display the available packages. You should have the latest SDK Tools, SDK Build Tools, and SDK Platform-tools installed, as well as at least packages 4.0.3 and maybe a few newer ones.
The screnshots below show some of the build tools I have installed (there are some years-worth in there) and also a couple of the packages. You don't really need all the extra junk in the packages, I usually only install the SDK Platform for each.
Maybe this will help, if you want to experiment.
Look inside the Android SDK and see if you can find a file named "android" inside a Tools folder. If so, double-click it to launch the Java app which will display the available packages. You should have the latest SDK Tools, SDK Build Tools, and SDK Platform-tools installed, as well as at least packages 4.0.3 and maybe a few newer ones.
The screnshots below show some of the build tools I have installed (there are some years-worth in there) and also a couple of the packages. You don't really need all the extra junk in the packages, I usually only install the SDK Platform for each.
Maybe this will help, if you want to experiment.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 108
- Joined: Mon Mar 20, 2017 5:13 am
Re: Exporting standalone
I already have every platform and sub-platform files downloaded.
-
- Posts: 108
- Joined: Mon Mar 20, 2017 5:13 am
Re: Exporting standalone
I just looked at the LiveCode site, it said it supported LiveCode: LiveCode 8.1.5, not 9.0.
I'm about to see if it works.
I'm about to see if it works.
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Exporting standalone
I was just compiling an Android app today, I'm using LC 9.0.1, so I know that works. I think we need a Windows user to chime in, I've used up all my ideas. Wish I could tell you more.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com