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
- Go to Project > Export
- Click Add… and select Android
- Configure preset settings
Basic settings
Export formats
APK (Android Package)
Standard Android package format:AAB (Android App Bundle)
Google Play’s publishing format:- In export preset, enable Use App Bundle (AAB)
- Export the project
- 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: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
- Download
.gdapor.aarplugin files - Place in
res://android/plugins/ - Enable in export preset under Plugins
Custom Android plugin
Screen orientation
Configure screen orientation:Android features
Expansion files (OBB)
For games larger than 100MB:- Enable Use Expansion (OBB) in export preset
- Main APK/AAB will be small
- Large assets go in expansion file
- 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
- Go to Google Play Console
- Create new app
- Upload AAB to Production, Beta, or Internal testing
- Complete store listing
- 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
SDK not found
SDK not found
Verify Android SDK path in Editor Settings. Ensure SDK tools are installed.
Build tools version
Build tools version
Install the required Build Tools version from SDK Manager.
Java version
Java version
Ensure Java JDK 11 or newer is installed and in PATH.
Gradle errors
Gradle errors
Clear Gradle cache and rebuild:
./gradlew clean buildRuntime issues
Android-specific code
Next steps
iOS
Export for iOS devices
Web
Export for web browsers
Desktop
Export for desktop platforms