Skip to content

Commit

Permalink
fix example on emulator
Browse files Browse the repository at this point in the history
Co-Authored-By: SarthakSingh31 <35749450+SarthakSingh31@users.noreply.github.com>
  • Loading branch information
mockersf and SarthakSingh31 committed Jun 29, 2022
1 parent 60f1df2 commit 9fcab5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 1 addition & 3 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 1 addition & 3 deletions examples/README.md.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fcab5e

Please sign in to comment.