custom android template complains about settings.gradle

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Nzan Davies

I have been trying to get my Admob working for a while now and the project refuses to export to android even after setting up the custom export templates
it keeps returning this error
I used shin-nil plugin for this

*What went wrong:
Could not compile settings file 'c://users/%HOMEPATH%/godot_project/android/build/settings.gradle
startup failed:
General error during systematic analysis: Unsupported class file major version 57

And at the end i get a:

Exit code: 1

I dont know what im doing wrong exactly.
Do I need to download and install gradle??? and where.
I checked the ‘settings.gradle’ file and it is completely empty. I dont know if thats how it is meant to be.
Ive read the godot official documentation and watched some tutorials a couple of times and its not helping


:bust_in_silhouette: Reply From: TomFelp

Hello, I hope to be useful, it turns out that I just had the same problem and I had to navigate tens of forums until you find the solution.
Other users worked to degrade JDK 13 to 11 (apparently gradle is not compatible with JDK 13). To me the only thing that worked was to open the settings .Gradle with Android Studio and I gave him to build and give him to accept all the updates that indicate, after that, I was able to export normally and ADMOB worked me good.
I hope this text is understood, English is not my mother tongue.
Good luck.

thx, only solution that really helped

billrockx | 2022-10-27 15:18

Thanks, you are a lifesaver !!

PEIGNAULT Laurent | 2022-12-11 17:24