This is a simple example of a Bevy app running on Android and is absolutely mostly stolen from the official Bevy mobile examples.
- Rust
- Cargo NDK
cargo install cargo-ndk - JDK (Version 17 or higher)
- make (Optional, for convenience)
To try the Bevy Android app, follow these steps:
- Run
make build - Run
make install - Open the app on your Android device.
- Run
cargo ndk --target arm64-v8a -o ./android_example/app/src/main/jniLibs build - Run
./gradlew build - Run
./gradlew installDebug - Open the app on your Android device.