diff --git a/plugins/flutter/android/build.gradle b/plugins/flutter/android/build.gradle index a77be0d3..e8eb51cc 100644 --- a/plugins/flutter/android/build.gradle +++ b/plugins/flutter/android/build.gradle @@ -27,11 +27,11 @@ apply plugin: 'com.android.library' android { // Bumping the plugin compileSdkVersion requires all clients of this plugin // to bump the version in their app. - compileSdkVersion 30 + compileSdkVersion 31 // Bumping the plugin ndkVersion requires all clients of this plugin to bump // the version in their app and to download a newer version of the NDK. - ndkVersion "21.4.7075529" + ndkVersion "25.2.9519653" // Invoke the shared CMake build with the Android Gradle Plugin. externalNativeBuild { @@ -54,6 +54,6 @@ android { } defaultConfig { - minSdkVersion 16 + minSdkVersion 22 } } diff --git a/plugins/flutter/example/android/app/build.gradle b/plugins/flutter/example/android/app/build.gradle index ef3b7106..4bd3c81b 100644 --- a/plugins/flutter/example/android/app/build.gradle +++ b/plugins/flutter/example/android/app/build.gradle @@ -27,7 +27,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { compileSdkVersion flutter.compileSdkVersion - ndkVersion "21.4.7075529" + ndkVersion "25.2.9519653" compileOptions { sourceCompatibility JavaVersion.VERSION_11