Setting up XR Dev Environment & Sideloading APK to Quest
Method: Manual SDK/NDK/JDK Alignment (Bypassing Turnkey errors)
Resources & Documentation
- Official Guide: Android Development Requirements for UE 5.7
- Video Tutorial: TinkerAcademy - Packaging VR Projects (The Easy Way)
1. Core Software Environment
- Engine Version: Unreal Engine 5.7
- Android Studio: Koala 2024.1.2 Patch 1 (Sept 17, 2024)
- Components: SDK Command-line Tools (installed via Android Studio SDK Manager)
2. SDK Management & Configuration
| Setting | Verified Path / Value |
|---|---|
| Android SDK | C:/Users/andre/AppData/Local/Android/Sdk |
| Android NDK | C:/Users/andre/AppData/Local/Android/Sdk/ndk/27.2.12479018 |
| JAVA (JDK) | C:/Program Files/Android/Android Studio/jbr |
| SDK API Level | android-34 |
| NDK API Level | android-29 |
3. Packaging Process
- Navigate to Platforms > Android > Package Project.
- Select the radio button for Android and then Android ASTC.
- Select Package Project at the top of the menu.
- Create a dedicated
Buildfolder within the main project directory and select it as the destination.
4. Deployment & Sideloading
Pre-Deployment: Enable USB Debugging in the Meta Horizon app (Developer Mode), connect via USB.
- Navigate to your
/Build/Android_ASTC/folder. - Run
Install_MyFirstVRProject-arm64.batto push to the headset. - Open via App Library > Unknown Sources on the Quest.