mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
android example polish (#845)
This commit is contained in:
parent
fae628797f
commit
c3a37b2d6a
3 changed files with 6 additions and 2 deletions
|
@ -333,6 +333,10 @@ name = "android"
|
|||
path = "examples/android/android.rs"
|
||||
|
||||
[package.metadata.android]
|
||||
build_targets = ["aarch64-linux-android", "armv7-linux-androideabi"]
|
||||
apk_label = "Bevy Example"
|
||||
assets = "assets"
|
||||
res = "assets/android-res"
|
||||
icon = "@mipmap/ic_launcher"
|
||||
build_targets = ["aarch64-linux-android", "armv7-linux-androideabi"]
|
||||
min_sdk_version = 16
|
||||
target_sdk_version = 29
|
||||
|
|
BIN
assets/android-res/mipmap-mdpi/ic_launcher.png
Normal file
BIN
assets/android-res/mipmap-mdpi/ic_launcher.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
|
@ -3,7 +3,7 @@ include!("../3d/3d_scene.rs");
|
|||
|
||||
#[cfg_attr(
|
||||
target_os = "android",
|
||||
ndk_glue::main(logger(level = "trace", tag = "android"), backtrace = "full")
|
||||
ndk_glue::main(logger(level = "debug", tag = "android"), backtrace = "full")
|
||||
)]
|
||||
pub fn android_main() {
|
||||
main();
|
||||
|
|
Loading…
Reference in a new issue