Skip to content

smsanchez1/UnrealSetupGuide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Unreal Engine 5.1 Android Build Setup Guide

This guide walks you through setting up Unreal Engine 5.1 for building and packaging Android projects, including Meta Quest support.


1. Install Unreal Engine 5.1

Download and install Unreal Engine 5.1 from the Epic Games Launcher. When installing, ensure Android support is enabled in the installation options.


2. Install Visual Studio 2022

Follow this detailed setup guide: Visual Studio Setup for Unreal Engine

Required Components

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)

3. Install Android Studio

Install Android Studio (recommended version: Arctic Fox 2021.1.1 or newer).

Required Components

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

4. Install JDK (Adoptium Temurin)

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.


⚙️ 5. Configure SDK, NDK, and JDK Paths in Unreal

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)

6. Run Unreal’s Android Setup Script

To let Unreal configure environment variables automatically, run:

Engine\Extras\Android\SetupAndroid.bat

đź’ˇ Run as Administrator for best results.


7. Sign the Package

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 10000

Then configure your keystore in:

Project Settings → Platforms → Android → Distribution Signing


8. Meta Quest / MetaHub Setup (Optional)

For Meta Quest or Horizon builds, you’ll need additional SDKs and command-line tools.

Install Meta SDKs

  • Meta OpenXR SDK
  • Oculus Platform SDK

Useful Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published