Get libopenxr_loader.so from the Oculus OpenXR Mobile SDK and add it to runtime_libs/arm64-v8a
https://developer.oculus.com/downloads/package/oculus-openxr-mobile-sdk/
runtime_libs/arm64-v8a/libopenxr_loader.so
install xbuild
. Note that the --git
is
very important here.
cargo install --git https://github.com/rust-mobile/xbuild
DID YOU INSTALL IT FROM GIT? IF NOT GO BACK AND INSTALL IT WITH --git DO IT. DO IT NOW. IT WILL NOT WORK IF YOU HAD IT PREVIOUSLY INSTALLED.
published xbuild does not allow for dylibs, but the xbuild on git does.
# List devices and copy device string "adb:***"
x devices
# Run on this device
x run --release --device adb:***
If you have issues with blake3 ( this is common ) build with this
CARGO_FEATURE_PURE=1 x run --release --device adb:***