Package, install and update
On this page
BUILD / COMMAND REFERENCE
The Godot editor’s Export Project button and its command-line exporter use the same named presets. Use the editor first so you can see configuration errors. From the exported Godot folder, create an output folder named dist. These commands assume Godot is on your command path and the presets use the names shown.
godot --headless --path . --export-debug "Quest VR" dist/quest.apkgodot --headless --path . --export-debug "Galaxy XR" dist/galaxy.apkgodot --headless --path . --export-release "Windows Desktop" dist/game.exeInstall on one Android headset#
adb devices -ladb -s SERIAL install -r dist/quest.apkReplace SERIAL with the device identifier in the first command. For Galaxy XR substitute dist/galaxy.apk. A status of device means ADB can talk to it. unauthorized means the wearer must accept the prompt. An empty list points to the cable, USB mode, driver or developer settings. One-click deploy is convenient once detection works.
Move from a test build to a release#
Use a stable package ID, increase the Android version code and sign with the intended release key. Keep the key backed up. A signed update must use a compatible identity. If a debug copy conflicts, use a separate debug package ID or preserve the test save before removing it. An APK installs directly. An AAB goes through a store or bundle tooling.
Re-test the actual release artifact. For desktop, move the whole build to a clean folder or another PC. For Quest and Galaxy XR, test both a fresh install and an update with an existing save. Consult the target store for current signing, format and submission requirements.
