1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 15:13:12 -04:00
Files
egui/examples/hello_android
Lucas Meurer 6b38fd39a1 Use egui_demo_lib in android example (#5780)
* [x] I have followed the instructions in the PR template
2025-03-18 11:43:15 +01:00
..

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