Prerequisites
Before exporting, ensure you have the following installed:- Godot Engine 4.3 with Android export templates
- Android SDK (API level 29 or higher recommended)
- Java Development Kit (JDK) version 11 or higher
Installing Export Templates
Configuring Android SDK
Set SDK Path
Point Android SDK Path to your Android SDK installation directory (e.g.,
~/Android/Sdk on Linux).Export Configuration
Space Pong uses a pre-configured Android export preset with the following settings:Architecture Settings
The export preset is configured for 64-bit ARM devices only:Most modern Android devices (2017+) use ARM64 architecture. This configuration reduces APK size by excluding older 32-bit architectures.
Package Configuration
The default package settings use Godot’s template:Exporting the APK
Select Android Preset
Click on the Android preset in the left panel. It should already be configured from
export_presets.cfg.Verify Settings
Review the export options:
- Ensure Runnable is checked to install and run directly on devices
- Verify Export Path points to your desired output location
- Check that Screen > Immersive Mode is enabled for fullscreen gameplay
Export Debug Build
Click Export Project and choose a location to save
SpacePong.apk.For initial testing, use Export With Debug to enable easier debugging.Testing on Device
Using ADB (Android Debug Bridge)
Enable Developer Options
On your Android device:
- Go to Settings > About Phone
- Tap Build Number seven times to enable Developer Options
- Return to Settings and open Developer Options
- Enable USB Debugging
Connect Device
Connect your Android device via USB cable and verify connection:You should see your device listed. Accept the debugging authorization prompt on your device if it appears.
One-Click Deploy from Godot
Godot supports direct deployment to connected devices:Select Remote Debug
In the top-right corner of the Godot editor, click the Remote Debug dropdown and select One-Click Deploy with Remote Debug.
Remote debugging allows you to see print statements and errors in the Godot editor’s Output panel while the game runs on your device.
Testing Checklist
After deploying to your device, verify the following:- Game launches in fullscreen (no status bar or navigation bar visible)
- Touch controls respond correctly for paddle movement
- Game maintains portrait orientation (460x720 aspect ratio)
- No visual glitches or performance issues
- Game state persists correctly between scenes
Troubleshooting
APK Won’t Install
If you see “App not installed” errors:- Uninstall any previous version of Space Pong
- Ensure you’re using a debug keystore for debug builds
- Check that your device supports ARM64 architecture
Game Crashes on Launch
If the game crashes immediately:- Check ADB logs:
adb logcat | grep godot - Verify export templates match your Godot version (4.3)
- Ensure all required resources are included in the export
Performance Issues
If the game runs slowly:- The mobile renderer is already configured (
rendering_method="mobile") - Ensure VRAM compression is enabled (ASTC/ETC2)
- Test on a device with at least Android 7.0 (API level 24)
Next Steps
Configuration
Learn about export settings, package names, and version management
Game Controls
Understand touch input implementation for mobile gameplay