0 votes

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.
    • changing org.gradle.java.home in gradle.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

Godot version 3.4.4
in Engine by (21 points)

Try to find and install a version of java-jdk greater than > 11 on the operating system you are using. try: https://www.oracle.com/java/technologies/downloads/

Please log in or register to answer this question.

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.