Studio › Manual › VR

Build & Run on Headset (⇧F8)

Room > VR > Build & Run on Headset (⇧F8) builds the whole game for Android with GameMaker's Igor (the LTS runtime's Android module) and Gradle, then installs it on the headset and starts it.

  • You need GameMaker's Android module, the Android SDK with Android 14 (API 34), the NDK and a JDK, set in GameMaker's Preferences > Platform Settings > Android. Build the project for Android once in GameMaker itself, so Gradle has its packages (Studio's build runs offline).
  • The test package is signed with the project's test key when it has one (see Android test key), else with Android's own debug key. Your Google Play upload key is never used or read.
  • The package goes to ~/Library/Caches/com.guidrygames.studio/builds/<project>-gms2-android/<project>.apk, and the build's lines are in Output.
  • Before anything goes on the headset, Studio shows the install and start commands and waits for Install and Start.
  • If the game is already on the headset signed with another key, Android won't update it: Studio says so and offers Choose This Project's Key… (see Android test key). Studio never uninstalls the game, which would wipe its saves.

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.