Sign up as Meta Quest Developer with 2 factors or credit card:
After developer mode is verified, restart the headset, open Oculus apps and to headset setting, turn on developer mode:
Download oculus developer hub and open and login
Plugin the headset with usb cable, authroize the mac access the headset, the headset will be shown in the hub apps
Download andriod studio 3.5.3 /4.0.2?
click do not input setting
Custom install
Click Finish to install
Problem at here when install fail:
Can carry on but may cause problem later
Install ADB on mac:
Go to this site and copy the link below in terminal
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Enter laptop login password → click Enter to install
IF seeing installation successful, it shows next steps.
Then copy this:
brew install android-platform-tools
IF seeing Andriod platform tools installed successful
Connect and awake the headset, then type
adb devices
IF device connected be detected, if shows as:
Go to UE installed location folder, run the SetupAndriod command:
Update the Xcode in app store
Open UE blank project in Epic, create a VR template
(If xcode cannot be found warning pump up while open UE. Open terminal, paste below, then input password. Open UE again)
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
UE setting:
Enable Oculus VR plugin
In project setting:
In Advanced → List of map include, choose the map in folder same as the map set in default
Make sure andriod is ticked on support platfrom
Target hardware as Mobile and scalable
In Rendering Setting:
In default setting
In platforms, andriod setting
click configure now
accept sdk license
check min sdk version is correct?
Tick package game data inside apk