Open jreuben11 opened 5 months ago
I know this issue is old, but maybe this helps someone..
For building an apk
with xbuild
, you have to specify the target platform:
x build --release -p bevy_openxr_android --platform android --arch arm64 --format apk
Regarding the error with cargo-apk
, it seems like your ANDROID_NDK_ROOT
environment variable is not set, or set incorrectly.
when compiling examples for quest, I get the following error:
[3/3] Create apk Error: Failed to collect all required libraries for
/bevy_oxr/examples/android/runtime_libs/arm64-v8a/libopenxr_loader.so Shared library
libm.so.6` not foundUPDATE 1: After installing Android SDK and NDK:
in ~/Code/git_clones/bevy_oxr/examples/android running
x build --release
I get:
target/x/release/linux/x64/cargo/release
exists but does not containbevy_openxr_android
orbevy_openxr
when I try
RUST_BACKTRACE=1 cargo apk build --release
I get: