-
-
Notifications
You must be signed in to change notification settings - Fork 61
Building for Quest
Amanda Watson edited this page Jan 22, 2024
·
9 revisions
git clone --recursive [email protected]:amwatson/CitraVR.git
- Download and install Android Studio
- In Android Studio, select "Open"
- Navigate to
[CitraVR project root]/src/android
and click "Ok" - In "Build > Select Build Variant", select release or relWithDebInfo as the "Active build variant".
- Click
Build > Make Project
to build the project. ClickRun > Run 'app'
(or the green 'play' button in the top-right corner of the screen) to build and automatically run on your connected Quest (see "Running on Quest")
- If Android Studio complains that it cannot find
local.properties
, create a file,[CitraVR project root]/src/android/local.properties
with the following:
sdk.dir=[path to Android SDK]
The path to the Android SDK can be found at File->Project Structure->SDK Location.
-
Slow Emulation If video/audio runs slowly on a source build than the release, check to confirm you are not building debug. Debug builds run at extremely reduced performance.
- Click "Build > Select Build Variants" and confirm you are running
nightlyRel
,nightlyRelWithDebugInfo
,canaryRel
orcanaryRelWithDebugInfo
- Click "Build > Select Build Variants" and confirm you are running
-
If you see an error about "missing glslang --version", you need to install/update glslang on your system