Index: build/config/android/config.gni |
diff --git a/build/config/android/config.gni b/build/config/android/config.gni |
index 33469666d338c740db46b93a94886c734d29acbd..b8d705fceb53f6e49f66f6143df0b8f68fba4bc9 100644 |
--- a/build/config/android/config.gni |
+++ b/build/config/android/config.gni |
@@ -62,7 +62,11 @@ if (is_android) { |
# Subdirectories inside android_ndk_root that contain the sysroot for the |
# associated platform. |
- _android_api_level = 16 |
+ if (current_cpu == "x64" || current_cpu == "arm64") { |
+ _android_api_level = 22 |
+ } else { |
+ _android_api_level = 16 |
+ } |
x86_android_sysroot_subdir = |
"platforms/android-${_android_api_level}/arch-x86" |
arm_android_sysroot_subdir = |
@@ -170,5 +174,5 @@ if (is_android) { |
assert(false, "Unknown Android ABI: " + current_cpu) |
} |
- android_log_tag = "\"flutter\"" |
+ android_log_tag = "\"dart\"" |
} |