• Godot Help
  • General error during conversion: Unsupported class file major version 64

Hi everyone

What does this error message mean in Godot 4?

General error during conversion: Unsupported class file major version 64


java.lang.IllegalArgumentException: Unsupported class file major version 64

I got it while trying to export my game to an AAB file. I can export to APK and do a remote debug, but always get that error message when I try export to AAB.

I followed the steps at
https://developer.android.com/games/engines/godot/godot-export

and tried updating Android Studio and Open JDK, but still get the message.

How can I fix it?

I don't get that error messsage in Godot 3.x.

Thanks

    OofStatement

    I might not have installed JDK properly the first time. I got a different error message after installing JDK17 and JDK21.

    Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
      WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 33
      
    This Android Gradle plugin (7.2.1) was tested up to compileSdk = 32
    This warning can be suppressed by adding android.suppressUnsupportedCompileSdk=33 to this project's gradle.properties When I added the suppression message to gradle.properties, I got the above error message again (I think). I can paste the whole message, but it's really long.