Can't build for android anymore
Solved
Mobile and Embedded
-
I was able to build for android in a pervious project (which is now long deleted). I just tried again with one of Qt's example projects and get this error:
BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65
I read in some posts that this may be a mismatch in some version, but don't know enough about the Qt configuration to fix it.
I uninstalled all of my android resources and reinstalled the JDK, and re-ran
Set Up SDK
, but still get this same error.What am I missing here? Where is the mismatch?
Specs:
- Apple M2
- Qt 6.5.2
- Kit is Auto-detected (I haven't modified anything there)
- Device Android 13 SDK 33, arm64-v8a, Pixel 6
- NDK 25.1.8937393
- openjdk 11.0.21 2023-10-17
OpenJDK Runtime Environment Homebrew (build 11.0.21+0)
OpenJDK 64-Bit Server VM Homebrew (build 11.0.21+0, mixed mode)
-