"General error during conversion: Unsupported class file major version 63" when trying to build for android
-
wrote on 25 Feb 2023, 15:24 last edited by
I am getting
General error during conversion: Unsupported class file major version 63
error while trying to build android project. I newly set up android kits from official installer. I tried to set default jdk to 19 and 11 and got same error for both.
OS:Arch Linux
Any advices about this? -
wrote on 28 Feb 2023, 19:30 last edited by
I've had that same error.
I've switched from JDK 19 to AdoptOpenJDK 11, plus switching from NDK 25.2.9519653 to 23.1.7779620 and now it works. At least for this issue.
-
I've had that same error.
I've switched from JDK 19 to AdoptOpenJDK 11, plus switching from NDK 25.2.9519653 to 23.1.7779620 and now it works. At least for this issue.
wrote on 1 Mar 2023, 07:29 last edited by@ankou29666 Thank you for input. I solved this issue too, with changing gradle version on build folder gradle files. But after it i am getting
FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':packageDebug'. > Could not create task ':mergeDebugAssets'. > Cannot use @TaskAction annotation on method IncrementalTask.taskAction$gradle_core() because interface org.gradle.api.tasks.incremental.IncrementalTaskInputs is not a valid parameter to an action method.
and couldnt find any solution yet.
1/3