pixels/examples/minimal-winit-android/README.md
2023-07-02 18:49:41 -07:00

441 B

Hello Android

Hello Android

Minimal example to run on android using winit with android-native-activity feature

Running

export ANDROID_HOME="path/to/sdk"
export ANDROID_NDK_HOME="path/to/ndk"

rustup target add aarch64-linux-android
cargo install cargo-apk

Connect your Android device via USB cable to your computer in debug mode and run the following command

cargo apk run