Skip to content

Android

Android uses its ART runtime, so no embedded JRE is needed.

Export with Godot's Android Gradle build and the Android plugin AAR included in the addon.

Android exports require Godot's Gradle build:

  1. Install the Android build template from Project > Install Android Build Template.
  2. Enable Gradle Build > Use Gradle Build in the Android export preset.
  3. Select Build Android Release in Godot's toolbar and click Run Gradle before exporting (buildAndroidRelease in IntelliJ). Use Build Android / buildAndroid before an export with debug.

Install the Android SDK build tools through Android Studio's SDK manager and set ANDROID_HOME. The Gradle plugin uses them to convert your JARs to DEX format. It selects the newest installed build tools by default.

During export, Godot adds addons/jvm/libs/android/godot-jvm-debug.aar or addons/jvm/libs/android/godot-jvm-release.aar automatically. If either file is missing, reinstall a complete Godot-JVM addon release before exporting.

Configuration

To override SDK discovery or the minimum API level, use android.d8ToolPath, android.compileSdkDirectory, and android.minApiLevel. Android, GraalVM and iOS inputs lists their defaults and examples.

Details: Reference.

Next: GraalVM native image (optional target).