From f84f636529950ef2926519042088e7b7f91f44ef Mon Sep 17 00:00:00 2001 From: ZhuJHua <1624109111@qq.com> Date: Tue, 21 Jan 2025 13:27:46 +0800 Subject: [PATCH] feat(android): update NDK and Kotlin versions - Updates the NDK version to "27.2.12479018" in `android/app/build.gradle`. - Updates the Kotlin Android plugin version to "2.1.0" in `android/settings.gradle`. - Add abiFilters 'arm64-v8a' --- android/app/build.gradle | 3 ++- android/settings.gradle | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 37a4786..677469e 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -25,7 +25,7 @@ if (flutterVersionName == null) { android { namespace = "cn.yooss.mood_diary" compileSdk = 35 - ndkVersion = "27.1.12297006" + ndkVersion = "27.2.12479018" compileOptions { sourceCompatibility = JavaVersion.VERSION_21 @@ -55,6 +55,7 @@ android { versionCode = flutterVersionCode.toInteger() versionName = flutterVersionName ndk { + //noinspection ChromeOsAbiSupport abiFilters 'arm64-v8a' } } diff --git a/android/settings.gradle b/android/settings.gradle index 48b7e3b..b347a36 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -26,7 +26,7 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" id "com.android.application" version '8.8.0' apply false - id "org.jetbrains.kotlin.android" version "2.0.21" apply false + id "org.jetbrains.kotlin.android" version "2.1.0" apply false } include ":app"