Error creating Android Standalone
Klaus major-k
klaus at major-k.de
Mon Aug 26 06:30:08 EDT 2024
Hi all,
I get the same error in the macOS Terminal when trying to execute a JAVA command.
Something is not (yet) installed on my machine!? Question is: what is it?
Please help, thank you!
> Am 23.08.2024 um 11:55 schrieb Klaus major-k via use-livecode <use-livecode at lists.runrev.com>:
>
> Hi friends,
>
> I get an error when creating an Android runtime:
> ----------------------------------------------
> There was an error while saving the standalone application could not encode class bundle - error:
> Error: AJNI error has occurred, please check your installation and try again Exception in thread "main" java.lang. UnsupportedClassVersionError:
> com/android/tools/r8/D8 has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
> at java.lang.ClassLoader.defineClass 1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
> at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
> at sun.misc.LauncherSAppClassLoader.loadClass(Launcher.java:355)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
> at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)
> -------------------------------------------------
Best
Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de
More information about the use-livecode
mailing list