Page 3 of 3

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

Posted: Tue Mar 26, 2024 1:06 pm
by trevix
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

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

Posted: Tue Mar 26, 2024 4:40 pm
by jacque
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.

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

Posted: Thu Mar 28, 2024 9:43 am
by trevix
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

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

Posted: Thu Mar 28, 2024 5:54 pm
by jacque
Not lucky. Reasonable and logical, like a good programmer. Congratulations. :)