Attention | Topic was automatically imported from the old Question2Answer platform. | |
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 ‘com.android.internal.application’.
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.
- changingorg.gradle.java.home
ingradle.properties
.
- 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.
- Get more help at https://help.gradle.org
BUILD FAILED in 21s
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