Repository navigation
Compatible Java, Gradle, NDK etc. versions for Android build? #1519
|
I have a Kha project that I've successfully built for Android in the past, using command line only, with Java 17 I think. Now I'm trying to build the same project, with the latest version of Kha. When opening the project, Android Studio gives the error: Upgrading Gradle to the suggested version leads to this error, which persists even after re-syncing: If I upgrade to Gradle 8.5 instead, I can get the project to build, but the APK crashes with the error: Strangely, I don't understand the Android build system well enough to figure out what's the main source of issues here. Should I downgrade to Java 17? Does Kha require a specific version of the NDK? Anything else that I might have missed? |
Replies: 3 comments
|
Another somewhat related issue: Android Studio gives the warning Starting November 1st 2015, Play Store requires support for 16 KB page sizes on 64-bit devices from all new apps targeting Android 15+ (and there already is a requirement that you must target Android 15+). I'm assuming many if not most Android developers would like to publish their game on the Play Store. |
|
Don't know what's up with Gradle 9 there, maybe not our fault. The Java error was fixed in Kore a while ago, I now updated the Kore submodule in Kha. |
|
Thank you, builds with Gradle 8.5 now and runs without errors. I'll create the issue. Not a fan of the Play Store either. |
Don't know what's up with Gradle 9 there, maybe not our fault. The Java error was fixed in Kore a while ago, I now updated the Kore submodule in Kha.
Feel free to create an issue for the page size situation for https://github.com/Kode/Kore - ideally without snarky remarks about the Play Store. Nobody likes to think about the Play Store.