0 votes

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.

Godot version 3.4.4
in Engine by (19 points)

1 Answer

0 votes
Best answer

My apologies folks, my mistake was that I was using the AdMob plugin and hadn't specified the APP ID in AndroidManifext.xml. After this everything worked perfectly. I hope that my workaround on the error "UNSUPPORTED CLASS FILE MAJOR VERSION 62" will be of help to someone. Cheers

by (19 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.