Android error: Could not compile service support class
Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller
Android error: Could not compile service support class
Hey everyone,
My first time (trying) to deploy to Android and not going well so far..
I managed to exclude inclusions which are not supported by Android like Ask/Answer-dialogs but i keep getting a specific error whilst trying to build the standalone:
"There was an error while saving the standalone application Could not compile service support class"
Any ideas on what this could be?
Thanks in advance!
My first time (trying) to deploy to Android and not going well so far..
I managed to exclude inclusions which are not supported by Android like Ask/Answer-dialogs but i keep getting a specific error whilst trying to build the standalone:
"There was an error while saving the standalone application Could not compile service support class"
Any ideas on what this could be?
Thanks in advance!
Re: Android error: Could not compile service support class
This is probably the most common error message – it generally occurs when your Android settings in LiveCode are not quite right. If you want to deploy your LiveCode app to an Android device, then you will need to install the Java SDK and the Android SDK on your machine.
See: http://livecode.wikia.com/wiki/Android_ ... enviroment
See: http://livecode.wikia.com/wiki/Android_ ... enviroment
Livecode Wiki: http://livecode.wikia.com
My blog: http://livecodeitalia.blogspot.it
To post code use this: http://tinyurl.com/ogp6d5w
My blog: http://livecodeitalia.blogspot.it
To post code use this: http://tinyurl.com/ogp6d5w
Re: Android error: Could not compile service support class
I appreciate your fast answer!
By "Android settings in LiveCode" I assume you are referring to both the Android SDK settings in Livecode and the Android SDK settings in Android Studio. Is there a faulty setting somewhere or am I forgetting something?
Thanks in advance!
By "Android settings in LiveCode" I assume you are referring to both the Android SDK settings in Livecode and the Android SDK settings in Android Studio. Is there a faulty setting somewhere or am I forgetting something?
Thanks in advance!
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
- Location: McKenna, WA
Re: Android error: Could not compile service support class
I'm not sure if Studio wants java 9. Try installing java 8 and see if you still have a problem.
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14
Re: Android error: Could not compile service support class
And how would I install Java 8?
I tried installing Java 8 through their website except whenever I link the
Android SDK in the livecode settings it jumps to the same settings as I mentioned earlier.
I tried installing Java 8 through their website except whenever I link the
Android SDK in the livecode settings it jumps to the same settings as I mentioned earlier.
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
- Location: McKenna, WA
Re: Android error: Could not compile service support class
Read thru this thread. It's what I went thru when I had the same problem. About half way down I explain about the java folder problem that fix this.
http://forums.livecode.com/viewtopic.php?f=53&t=29660
http://forums.livecode.com/viewtopic.php?f=53&t=29660
Tom
MacBook Pro OS Mojave 10.14
MacBook Pro OS Mojave 10.14
Re: Android error: Could not compile service support class
Thanks for the thread!
I have uninstalled and reinstalled JAVA, Android studio and livecode in general to hopefully fix the problem but still no luck.
Java SDK still jumps to the 9.0.1 version whenever I link it to livecode
any suggestions i could try?
I have uninstalled and reinstalled JAVA, Android studio and livecode in general to hopefully fix the problem but still no luck.
Java SDK still jumps to the 9.0.1 version whenever I link it to livecode
any suggestions i could try?
Re: Android error: Could not compile service support class
Update: found the issue!
I had installed java sdk 9, downgraded to 8 but did not remove the whole package..
LC automagically took the newest version so I deleted the sdk9-location using terminal:
sudo rm -fr /Library/Java/JavaVirtualMachines/jdk-9.0.1jdk/
LC now used sdk 8 and everything works like a charm
Thanks to all who helped!
I had installed java sdk 9, downgraded to 8 but did not remove the whole package..
LC automagically took the newest version so I deleted the sdk9-location using terminal:
sudo rm -fr /Library/Java/JavaVirtualMachines/jdk-9.0.1jdk/
LC now used sdk 8 and everything works like a charm
Thanks to all who helped!
-
- Livecode Opensource Backer
- Posts: 95
- Joined: Mon Apr 10, 2006 7:02 pm
- Location: Provo, Utah, USA
- Contact:
Re: Android error: Could not compile service support class
Thanks for posting your solution, @Zood. One year on, I had the same problem, and your solution fixed it.
Devin Asay
Learn to code with LiveCode University
https://livecode.com/store/education/
Learn to code with LiveCode University
https://livecode.com/store/education/