This guide walks you through setting up Unreal Engine 5.1 for building and packaging Android projects, including Meta Quest support.
Download and install Unreal Engine 5.1 from the Epic Games Launcher. When installing, ensure Android support is enabled in the installation options.
Follow this detailed setup guide: Visual Studio Setup for Unreal Engine
When installing Visual Studio 2022, ensure these components are selected:
| Component | Description |
|---|---|
.NET Framework 4.8 SDK |
Required for UBT tools |
.NET Framework 4.7.2 targeting pack |
|
.NET Framework 4.6.1 targeting pack |
|
MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.36-17.6) |
C++ compiler for UE5 |
C++ v14.36 (17.6) ATL for v143 build tools (x86 & x64) |
|
C++ v14.36 (17.6) MFC for v143 build tools (x86 & x64) |
|
C++/CLI support for v143 build tools (14.36-17.6) |
|
Windows 11 SDK (10.0.22000.0) |
Install Android Studio (recommended version: Arctic Fox 2021.1.1 or newer).
In Android Studio → More Actions → SDK Manager → SDK Tools, make sure these are checked and installed:
- Android SDK Platform-Tools
- Android SDK Build-Tools
- NDK (Side by side) → version 25.1.8937393 (r25b)
- CMake
- Android SDK Command-line Tools
Unreal Engine 5.1 for Android may require specific Java versions.
Install both from Adoptium:
Use JDK 11 for the Unreal project’s Java path.
Open Unreal Editor → Edit → Project Settings → Platforms → Android SDK, then set the paths according to your installation.
| Setting | Example Path |
|---|---|
| SDK | C:\Users\<username>\AppData\Local\Android\Sdk |
| NDK | C:\Users\<username>\AppData\Local\Android\Sdk\ndk\25.1.8937393 |
| JDK | C:\Program Files\Eclipse Adoptium\jdk-11 (or wherever Temurin 11 is installed) |
To let Unreal configure environment variables automatically, run:
Engine\Extras\Android\SetupAndroid.batđź’ˇ Run as Administrator for best results.
Before compiling or packaging an Android build, make sure to sign your APK/AAB with a valid keystore.
If you don’t already have one, generate it using the command:
keytool -genkey -v -keystore mygame.keystore -alias MyGameKey -keyalg RSA -keysize 2048 -validity 10000Then configure your keystore in:
Project Settings → Platforms → Android → Distribution Signing
For Meta Quest or Horizon builds, you’ll need additional SDKs and command-line tools.
- Meta OpenXR SDK
- Oculus Platform SDK
-
Meta CLI Utility for publishing: