diff --git a/Cargo.toml b/Cargo.toml index 2dd1f8d855d13..3a094ff9f3722 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1467,10 +1467,10 @@ hidden = true # Android [[example]] crate-type = ["cdylib"] -name = "android" +name = "android_example" path = "examples/android/android.rs" -[package.metadata.example.android] +[package.metadata.example.android_example] hidden = true [package.metadata.android] diff --git a/examples/README.md b/examples/README.md index 9ee6f2c6c0b32..5b4ac1fc95811 100644 --- a/examples/README.md +++ b/examples/README.md @@ -346,11 +346,9 @@ When using `NDK (Side by side)`, the environment variable `ANDROID_NDK_ROOT` mus To run on a device setup for Android development, run: ```sh -cargo apk run --example android +cargo apk run --example android_example ``` -:warning: At this time Bevy does not work in Android Emulator. - When using Bevy as a library, the following fields must be added to `Cargo.toml`: ```toml diff --git a/examples/README.md.tpl b/examples/README.md.tpl index bbb026428a09e..dff0e1506cd61 100644 --- a/examples/README.md.tpl +++ b/examples/README.md.tpl @@ -98,11 +98,9 @@ When using `NDK (Side by side)`, the environment variable `ANDROID_NDK_ROOT` mus To run on a device setup for Android development, run: ```sh -cargo apk run --example android +cargo apk run --example android_example ``` -:warning: At this time Bevy does not work in Android Emulator. - When using Bevy as a library, the following fields must be added to `Cargo.toml`: ```toml