Skip to main content

Overview

Godot supports exporting to Android devices and publishing to Google Play Store. The export process requires Android SDK and Java JDK for building APK or AAB packages.

Prerequisites

Install Android SDK

1

Download Android Studio

Install Android Studio from https://developer.android.com/studio
2

Install SDK tools

Use SDK Manager to install:
  • Android SDK Platform Tools
  • Android SDK Build Tools
  • Android SDK Platform (API 33 or higher recommended)
3

Configure Godot

Go to Editor > Editor Settings > Export > Android Set paths:
  • Android SDK Path: Path to Android SDK
  • Debug Keystore: Path to debug keystore

Install Java JDK

Godot requires Java JDK 11 or newer. JDK 17 is recommended for best compatibility.

Creating Android export preset

  1. Go to Project > Export
  2. Click Add… and select Android
  3. Configure preset settings

Basic settings

Export formats

APK (Android Package)

Standard Android package format:
APK is suitable for direct installation and testing. Use AAB for Google Play Store releases.

AAB (Android App Bundle)

Google Play’s publishing format:
  1. In export preset, enable Use App Bundle (AAB)
  2. Export the project
  3. Upload AAB to Google Play Console
AAB allows Google Play to generate optimized APKs for different device configurations, reducing download size.

App signing

Debug keystore

Automatically generated for development:

Release keystore

Create a keystore for production releases:
Configure in export preset:
Keep your release keystore and password secure and backed up. Losing it means you cannot update your app on Google Play.

Permissions

Android requires declaring permissions in the manifest:

Common permissions

Runtime permissions

Android 6.0+ requires runtime permission requests:

Android plugins

Extend functionality with Android plugins:

Installing plugins

  1. Download .gdap or .aar plugin files
  2. Place in res://android/plugins/
  3. Enable in export preset under Plugins

Custom Android plugin

Use in GDScript:

Screen orientation

Configure screen orientation:

Android features

Expansion files (OBB)

For games larger than 100MB:
  1. Enable Use Expansion (OBB) in export preset
  2. Main APK/AAB will be small
  3. Large assets go in expansion file
  4. Google Play handles expansion file delivery

App icon

Splash screen

Google Play services

Integrate Google Play services:

Publishing to Google Play

Preparing for release

1

Build release AAB

Export signed AAB with release keystore
2

Test thoroughly

Test on multiple devices and Android versions
3

Prepare store listing

  • App title and description
  • Screenshots (phone, tablet, TV)
  • Feature graphic (1024x500)
  • App icon (512x512)
4

Set up Google Play Console

Create developer account ($25 one-time fee)

Upload to Play Console

  1. Go to Google Play Console
  2. Create new app
  3. Upload AAB to Production, Beta, or Internal testing
  4. Complete store listing
  5. Submit for review

Update versioning

Testing on device

USB debugging

1

Enable developer options

On device: Settings > About Phone > Tap Build Number 7 times
2

Enable USB debugging

Settings > Developer Options > USB Debugging
3

Connect device

Connect via USB and authorize computer
4

One-click deploy

In Godot, enable Runnable in Android export preset and click deploy button

Wireless debugging

Performance optimization

Use Mobile renderer

Select Mobile renderer in Project Settings for better performance on Android.

Optimize textures

Use ETC2/ASTC compression for Android textures.

Reduce draw calls

Batch meshes and minimize material changes.

Test on low-end devices

Ensure your game runs well on older Android devices.

Common issues

Build errors

Verify Android SDK path in Editor Settings. Ensure SDK tools are installed.
Install the required Build Tools version from SDK Manager.
Ensure Java JDK 11 or newer is installed and in PATH.
Clear Gradle cache and rebuild: ./gradlew clean build

Runtime issues

Android-specific code

Next steps

iOS

Export for iOS devices

Web

Export for web browsers

Desktop

Export for desktop platforms