Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | LDPFDEV |
Hello people, I need to know if you can help me solve my problem to export in AAB format with version 3.4.4.
To summarize, I am developing a game, which when exported in APK with the default template works fine (in debug mode), but with the customized AAB template in release mode it does not. It successfully generates the AAB, and when i upload it to the Play Store for internal testing does not throw any errors, but when I download the APK from that page and install it on my device, it closes as soon as I open it.
At first I had some problems exporting, for example, when executing the export with a customized template, it gave me the error “UNSUPPORTED CLASS FILE MAJOR VERSION 62” when trying to open settings.gradle in the build folder. This was apparently caused by an incompatibility between my JDK (18) and the version of Gradle used by the export template. After trying to downgrade to Java 16 and Java 11 without success, what I did was change the version specified in the export template from Gradle 7.2 to 7.5 so that it would work correctly with the Java 18 version and thus I managed to at least finish compile.
I’m not sure if this might be affecting the output, but I also can’t get another way the AAB export option offered in this version of Godot to work satisfactorily.