Android Studio 2022.3.1
Android SDK 33 (only)
NDK 21.4.7075529 and 23.1.7779620 (APK Compiler set to use the second one)
Gradle 6.7.1
Android SDK Compiler 4.4 Pro
There is no other JDK in the VM apart from that in Android Studio (although I have tried previouslywith JDK17 installed)
When I try to compile I get the following error
followed by a lot of similar lines.* What went wrong:
Could not compile settings file 'C:\Users\mingl\AppData\Local\AirsoftSoftwair\APKCompiler\com.immi.g1\settings.gradle'.
> startup failed:
General error during semantic analysis: Unsupported class file major version 61
java.lang.IllegalArgumentException: Unsupported class file major version 61
at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:196)
at groovyjarjarasm.asm.ClassReader.<init>(ClassReader.java:177)
Finally there is an error that gradlew is not a recognised command.
When I look up the first fail I get
The version installed with Android Studio shows as openjdk version "17.0.6" 2023-01-17.It means Java 17 (major version 61) compiled the class file, and if we try to run the class file under Java 16 and below environment,
I am waiting for a new hard drive so that I can start with a new WIn installation on my old desktop and I will try installing from scratch on that machine.
Anyone else have problems with this? Is there something I did not do?
I would really like to get this working as my previous compiled apps work really well on my android phone.