1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 07:03:14 -04:00

Android example: document pre-requisites and fix code for rust 1.92.0 (#8122)

* [x] I have followed the instructions in the PR template

```
+ echo 'All checks passed.'
All checks passed.
```

I had to update `.png`'s for tests to pass, but I guess it's specific to
my laptop.

---------

Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com>
This commit is contained in:
Dmitry Skorobogaty
2026-04-27 13:52:58 +04:00
committed by GitHub
parent 8a0855bb02
commit fe8b1edfc6
2 changed files with 25 additions and 18 deletions

View File

@@ -3,7 +3,7 @@
use eframe::{CreationContext, egui};
#[cfg(target_os = "android")]
#[no_mangle]
#[unsafe(no_mangle)]
fn android_main(app: winit::platform::android::activity::AndroidApp) {
// Log to android output
android_logger::init_once(