egui/examples/hello_android
Piotr Podusowski 12cd35f48c
Disallow `accesskit` on Android NativeActivity, making `hello_android` working again (#6855)
Follow up for https://github.com/emilk/egui/pull/6766

I wasn't sure if `compile_error` is appropriate. It felt right.
2025-05-18 13:17:28 +02:00
..
src Use egui_demo_lib in android example (#5780) 2025-03-18 11:43:15 +01:00
Cargo.toml Disallow `accesskit` on Android NativeActivity, making `hello_android` working again (#6855) 2025-05-18 13:17:28 +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