From e01bfb5f72664f7e7081f27b8b077c5a54fe9d61 Mon Sep 17 00:00:00 2001 From: Baharudin Yusup Date: Wed, 9 Oct 2024 17:17:02 +0700 Subject: [PATCH] fix: Update minSdkVersion to 21 to Fix NDK Compatibility Issue (#1832) Flutter 3.22 had dropped support for Android KitKat https://docs.flutter.dev/release/breaking-changes/android-kitkat-deprecation, update minSdkVersion to 21 to Fix NDK Compatibility Issue. --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 6759357fb..33481f9c8 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -30,7 +30,7 @@ android { compileSdkVersion safeExtGet('compileSdkVersion', 31) defaultConfig { - minSdkVersion safeExtGet('minSdkVersion', 16) + minSdkVersion safeExtGet('minSdkVersion', 21) consumerProguardFiles 'consumer-rules.pro' }