Error when creating Android standalone

Klaus major-k klaus at major-k.de
Tue Oct 14 13:15:32 EDT 2025


Hi all,

I just created a new selfsigned keystore with Android Studio and wanted to test this with LC 10.0.2, with JAVA 8 still installed.
I did Not update to JAVA < 8 yet.

But I got this error:
----------------------------------------------------------------------------------
There was an error while saving the standalone application could not encode class bundle - error:
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.URLClassLoaderS1.run(URLClassLoader.java:369)
at java.net.URLClassLoaderS1.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:371)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:642)
----------------------------------------------------------------------------------

macOS 26.0.1
LC 10.0.2

Android Studio:
----------------------------------------
Android Studio Iguana | 2023.2.1 Patch 1
Build #AI-232.10300.40.2321.11567975, built on March 13, 2024
Runtime version: 17.0.9+0-17.0.9b1087.7-11185874 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 26.0.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
Registry:
    ide.experimental.ui=true
------------------------------------------
What is wrong with my setup?
Thanks a lot in advance!


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