This is a complete how-to for building VR Projects for Meta (Oculus) Quest 2 projects using Unreal Engine 5.4.4, Windows, Java 17, and Flamingo.
I start with a fresh Windows install to ensure you see every step.
00:00 Installing Java 17
00:41 Installing Android Studio Flamingo 2022.2.1 Patch 2 May 24, 2023
08:41 Configuring Android Studio. There are quite a few fussy steps.
12:12 Installing Epic Games Launcher
15:01 A tour of Epic Games Launcher for Unreal Designers and Developers
15:56 Installing Unreal Engine 5.4.4
19:48 Installing the Android Target Platform in Engine Options and Launching the Game Engine
20:50 Installing and configuring the Sidequest Advanced Installer and Connecting your Headset.
23:44 Creating an Unreal Engine VR Project
26:59 Configuring your Unreal Engine Project for VR.
29:33 Unhiding Your Windows AppData folder so Unreal can find it.
32:27 Packaging Your VR Project!
36:47 Installing Your Packaged Project Onto Your Headset
38:58 Putting on the Quest 2 and Launching your App! You built a VR app!
1. Install Java 17
Java runtime: OpenJDK 17.0.6 2023-01-17
See: https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html
I used openjdk-17.0.2_windows-x64_bin from the archive and it worked.
2. Download Android Studio Flamingo
Android Studio Version: Flamingo 2022.2.1 Patch 2 May 24, 2023
Get it at: https://developer.android.com/studio/archive
Configure Android Studio
SDK Platforms Tab
In the window's lower right, check the box that says “Show Package Details.” This will expand all of your options and give you more details.
Uncheck Android API 34
Check Android 12L
SDK Tools Tab
In the window's lower right, check the box that says “Show Package Details.” This will expand all of your options.
Expand Android SDK Build-Tools 35-rc3
Uncheck 34.0.0
Check 32.0.0
Scroll down to
NDK (Side by side)
Check 25.1.8937393
Scroll down to
Android SDK Command Line Tools (latest).
Check Android SDK Command-line Tools (latest) Version 13
Scroll down to CMake and check both
3.22.1
3.10.2.4988404
Then scroll down and check
Android SDK Platform-Tools (The Version column will be 35.0.1)
Select OK and then Confirm Changes
3. Install Epic Games Launcher to Install Unreal Engine 5.4.4
https://store.epicgames.com/en-US/download
After Installing UE 5.4.4 then, use the tiny down arrow on the button to get to options and install the additional Android Target Platform
Show Hidden Files in Windows Explorer
Open Windows Explorer and select View, Show Hidden Files
Settings for Platforms, Android
Minimum SDK Version (26=8.0.0, 27=8.1.0, 28=9, 29=10, 30=11, 31=12): 30
Internal Name MinSDKVersion
Target SDK Version (26=8.0.0, 27=8.1.0, 28=9, 29=10, 30=11, 31=12): 32
Internal Name TargetSDKVersion
Also, scroll down and check the box for
Package game data inside .apk?
Settings for Platforms, Android SDK
Location of Android SDK (the directory usually contains 'android-sdk-')
Internal Name: SDKPath
C:/Users/006504390/AppData/Local/Android/Sdk
Location of Android NDK (the directory usually contains 'android-ndk-')
Internal Name: NDKPath
C:/Users/006504390/AppData/Local/Android/Sdk/ndk/25.1.8937393
Location of JAVA (the directory usually contains 'jdk')
To ensure this is the correct path, see the Installing Java 11 section of this document.
Internal Name: JavaPath
Windows
C:/Program Files/Java/jdk-17
SDK API Level (specific version, 'latest', or 'matchndk' - see tooltip)
Internal Name: SDKAPILevel
latest
NDK API Level (specific version or 'latest' - see tooltip)
Internal Name: NDKAPILevel
android-32
Package Project
You will get a message that says the SDK is not installed. Let it install.
Create a folder with a name you’ll remember. I use “Quest2”