From ad88bdae5c63c26be5c94e8e71059c3c62da03b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Lescaudey=20de=20Maneville?= Date: Fri, 24 Jun 2022 21:45:04 +0000 Subject: [PATCH] Fixed Android example icon (#4076) # Objective - The android example icon doesn't show up ## Solution - I fixed the android metadata to match `cargo-apk` manifest --- Cargo.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 62be72f770..d69f0c234a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -673,8 +673,10 @@ path = "examples/android/android.rs" [package.metadata.android] apk_label = "Bevy Example" assets = "assets" -res = "assets/android-res" -icon = "@mipmap/ic_launcher" +resources = "assets/android-res" build_targets = ["aarch64-linux-android", "armv7-linux-androideabi"] min_sdk_version = 16 target_sdk_version = 29 + +[package.metadata.android.application] +icon = "@mipmap/ic_launcher"