From 7160fe23ff34102f9f35868cc58fbc444fc2af5a Mon Sep 17 00:00:00 2001 From: Navaron Bracke Date: Mon, 10 Jun 2024 10:22:58 +0200 Subject: [PATCH] bump min Android SDK to 21; bump compile SDK / target SDK to 34 --- android/build.gradle | 4 ++-- example/android/app/build.gradle | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 40828dfe..759a900a 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -22,10 +22,10 @@ rootProject.allprojects { apply plugin: 'com.android.library' android { - compileSdkVersion 33 + compileSdk 34 defaultConfig { - minSdkVersion 16 + minSdk 21 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } lintOptions { diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 28746ddd..275f5dfc 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -15,7 +15,7 @@ apply plugin: 'com.android.application' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdk 33 + compileSdk 34 lintOptions { disable 'InvalidPackage' @@ -23,8 +23,8 @@ android { defaultConfig { applicationId "com.mr.flutter.plugin.filepicker.example" - minSdkVersion flutter.minSdkVersion - targetSdk 33 + minSdk flutter.minSdkVersion + targetSdk 34 versionCode 1 versionName "1.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"