egui/examples/hello_android
Andreas Reich 4c1f344ef8
Update MSRV from 1.86 to 1.88 (#7579)
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
2025-10-02 19:12:29 +02:00
..
src Use Rust edition 2024 (#7280) 2025-06-30 14:01:57 +02:00
Cargo.toml Update MSRV from 1.86 to 1.88 (#7579) 2025-10-02 19:12:29 +02:00
README.md Use egui_demo_lib in android example (#5780) 2025-03-18 11:43:15 +01:00
screenshot.png Use egui_demo_lib in android example (#5780) 2025-03-18 11:43:15 +01:00

README.md

Hello world example for Android.

Use cargo-apk to build and run. Requires a patch to workaround an upstream bug.

One-time setup:

cargo install \
    --git https://github.com/parasyte/cargo-apk.git \
    --rev 282639508eeed7d73f2e1eaeea042da2716436d5 \
    cargo-apk

Build and run:

# Run on android
cargo apk run -p hello_android --lib

# Run on your desktop
cargo run -p hello_android