Can't export to android aab

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Ceo-Potato

Can’t export to android aab
i just get an error

FAILURE: Build failed with an exception.

  • Where:
    Build file ‘/home/ceo_potato/Documents/Godot/Flappy Bird Clone/android/build/build.gradle’ line: 24

  • What went wrong:
    A problem occurred evaluating root project ‘build’.

Failed to apply plugin ‘’.
Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
You can try some of the following options:
- changing the IDE settings.
- changing the JAVA_HOME environment variable.
- changing in

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.


Exit Code: 1

Try to find and install a version of java-jdk greater than > 11 on the operating system you are using. try: Java Downloads | Oracle

maurestor | 2022-07-23 07:47