Closed FabianZeuner closed 3 months ago
This is due to https://github.com/rust-mobile/android-activity/issues/153
It should be fixed by updating winit
.
As a workaround, you can use either rust 1.77 or nightly-2024-02-08
Another workaround: patching android-activity in Cargo.toml and modifying it with the following commit: https://github.com/rust-mobile/android-activity/pull/157/files
Developing on:
Building for device:
I'm trying run the bevy mobile example on my android phone.
What I do:
cargo apk run -p bevy_mobile_example
in the repository root directory.The first lines of output are:
I also tried building bevy with xbuild and with other target sdk (32, 33), but with the same result.