-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run bevy on Android SDK v 32 #3458
Comments
I'm able to get something started on android, but I get a black screen and nothing happens. It's not complaining of a missing file for me |
I get a mixture of issues here. Using Bevy Vanilla on the latest branch, the android app cant find the native lib and so crashes. I updated bevy's winit dependencies to v0.26.0, syn to v1.0.86 and ndk-glue to v0.5.0; It builds correctly and the library can be found at runtime. But it is missing some symbols causing a crash at the link stage at androids onCreate. Winit and ndk-glue using wgpu has worked for me recently and so I think these libraries aren't the issue - I moved to bevy to try speed things up. But I don't have enough experience with the Bevy Engine to give any more helpful information. It may be something at |
Hi, I've had the same issue @jbcurtin, you have to add ANDROID_NDK_ROOT to your environnement var, it should looks like $ANDROID_SDK_ROOT\ndk{NDK VERSION} |
# Objective - Merge the examples on iOS and Android - Make sure they both work from the same code ## Solution - don't create window when not in an active state (from #6830) - exit on suspend on Android (from #6830) - automatically enable dependency feature of bevy_audio on android so that it works out of the box - don't inverse y position of touch events - reuse the same example for both Android and iOS Fixes #4616 Fixes #4103 Fixes #3648 Fixes #3458 Fixes #3249 Fixes #86
# Objective - Merge the examples on iOS and Android - Make sure they both work from the same code ## Solution - don't create window when not in an active state (from #6830) - exit on suspend on Android (from #6830) - automatically enable dependency feature of bevy_audio on android so that it works out of the box - don't inverse y position of touch events - reuse the same example for both Android and iOS Fixes #4616 Fixes #4103 Fixes #3648 Fixes #3458 Fixes #3249 Fixes #86
Bevy version
0.5.0 from crate.io
Operating system & version
macOS
What you did
What you expected to happen
Android Debugging Session might have started
What actually happened
Error Output:
Additional information
I reconize
cargo apk run --example android
is looking forsource.properties
. Which directory should I create the file or where is the URL which explainssource.properties
?The text was updated successfully, but these errors were encountered: