Android Studio - Additional JDK not needed (Solution to Java is none error)

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

trevix
Posts: 960
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Re: Android Studio - Additional JDK not needed (Solution to Java is none error)

Post by trevix » Tue Mar 26, 2024 1:06 pm

Sigh...

I tried to follow all these posts and somehow I 've got a result.
I can perform an ADB test installation of a basic stack on the Android 11 device.

Except that, doing a test install of my standalone, now I am getting this dialog.
I feel like I'm sitting in a chair, with 3 guns pointed at me: no matter how I move, I get shot :cry:
Screenshot 2024-03-26 alle 12.42.22.png
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

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

Re: Android Studio - Additional JDK not needed (Solution to Java is none error)

Post by jacque » Tue Mar 26, 2024 4:40 pm

You've probably looked at this but just in case: https://lessons.livecode.com/a/1770871- ... -checklist

There used to be a lesson on causes of the error you're getting but I couldn't find it.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

trevix
Posts: 960
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Re: Android Studio - Additional JDK not needed (Solution to Java is none error)

Post by trevix » Thu Mar 28, 2024 9:43 am

SOLVED!
I disinstalled Java from My Sonoma Mac M1 ARM using this:
https://www.java.com/it/download/help/m ... _java.html
and the JDK:
https://docs.oracle.com/javase/8/docs/t ... l#A1096903

Then I followed again the checck list
https://lessons.livecode.com/m/4069/l/1 ... -checklist
Installing the Oracle Java SE Development Kit 8u391 from here
https://www.oracle.com/java/technologie ... e-lightbox
And check on Android studio all the correct SDK settings.
Not I can ADB install my standalone on Android again.
PS: I was lucky
Trevix
OSX 14.3.1 xCode 15 LC 10 DP7 iOS 15> Android 7>

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

Re: Android Studio - Additional JDK not needed (Solution to Java is none error)

Post by jacque » Thu Mar 28, 2024 5:54 pm

Not lucky. Reasonable and logical, like a good programmer. Congratulations. :)
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “Android Deployment”