Skip to main content

Packaging for Standalone

Android SDKSetup

The AndroidMeta SDKplugin isfor configuredUnreal onhelps configure the project quickly and easily and can be disabled after applying settings if you don't need it. The plugin should be available if you are using one of the SCiL BUILDworkstations, MACHINE.but Afterif youryou projectare isbuilding configured,elsewhere, bringyou yourcan portable drive to that workstation withinfind the labinstructions tohere: kickMetaXR off a build.Plugin

PleaseUnder doProject notSettings save-> yourAndroid projectsSDK or-> buildsSDKConfig set the following (use the 3 dots):

  • Location of Android SDK: C:/Android/SDK
  • Location of Android NDK: C:/Android/SDK/ndk/25.xxx
  • Location of JAVA: C:/Program Files/Android/Android Studio/jbr

Screenshot 2025-10-10 135734.png

Building

Typically, Unreal would be configured according to the builddocumentation machine'sif localyou drive.are building at home. But for the SCiL lab, Android SDKs have been configured for all users of the workstation.

Go to Platforms -> Android -> Package Project

You will get a warning popup about SDK Not Setup. Click Continue.

Screenshot 2025-10-10 140040.png

Select a folder (it is recommended to use a folder called Builds that is in the root of the project). This workstationlocation will save for the next time you build too. You can then load your APK and OOB files to a headset via Meta Quest Developer Hub.

Common things to check if the project did not build:

  • Ensure the SDK locations listed above are properly placed.
  • Sometimes Gradle (the building tool) will fail because an instance is cleanedalready frequentlyrunning. Try the build again. If it persists, restart the computer (this removes the processes that may be running, especially if other users are using the machine and NOThave backedlogged up!

    out).

 

Packaging (Not in Lab)

For the individuals who wish to build at home, ensure Android SDK for Unreal is setup according to this documentation:

https://dev.epicgames.com/documentation/en-us/unreal-engine/set-up-android-sdk-ndk-and-android-studio-using-turnkey-for-unreal-engine

Manual Project Configuration

Configure project according to other pages in WIKI, including VR Settings for Unreal Engine 4/5

Additionally, under Project Settings/Android, check the following:

  • Under APK Packaging, select Configure Now/Accept SDK License (you may need to do this on the build workstation)
  • Package game inside .apk? (Leave this unchecked if your app is large in size)
  • Support Vulkan
  • Support OpenGL ES3.2 OFF (IMPORTANT)
  • Advanced APK Packaging/Package for Meta Quest Devices

If you install and enable the MetaXR Plugin (installed on our workstations by default), this plugin will check for settings that need to be placed.

Additional

AdditionalConfigurations

More optimizations: https://www.youtube.com/watch?v=y3xFZF9Nyt4

Additional settings may be required depending on the standalone/deployment platform (such as AppLab or Oculus store)