From 0d4fe52d3b6b8ee7207bf601e560f02101315262 Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Thu, 28 Aug 2025 12:30:06 +0200 Subject: [PATCH] Bump ndk version used and manually set the sdk version --- android/app/build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index c9090ede..ce9cc658 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -24,7 +24,7 @@ if (keystorePropertiesFile.exists()) { android { namespace = "de.wger.flutter" compileSdkVersion 35 - ndkVersion "26.3.11579264" + ndkVersion "27.0.12077973" compileOptions { sourceCompatibility JavaVersion.VERSION_11 @@ -39,7 +39,9 @@ android { defaultConfig { // Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "de.wger.flutter" - minSdk = flutter.minSdkVersion + // NOTE: manually setting the minSdk to 23 instead of "flutter.minSdkVersion" + // because flutter_zxing requires a higher minSdkVersion. + minSdk = 23 targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName