From 4d88c4b242291bd0f2f63a30261aa4c35b40c232 Mon Sep 17 00:00:00 2001 From: Philipp Keller Date: Wed, 9 Mar 2022 18:37:48 +0100 Subject: [PATCH] Make it it work for current android (api 32) and flutter 2.10.2 --- android/app/build.gradle | 6 +++--- android/app/src/main/AndroidManifest.xml | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index f11ea694..1ebb9fa2 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -25,7 +25,7 @@ apply plugin: 'com.android.application' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 29 + compileSdkVersion flutter.compileSdkVersion lintOptions { disable 'InvalidPackage' @@ -34,8 +34,8 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "co.appbrewery.xylophone" - minSdkVersion 23 - targetSdkVersion 29 + minSdkVersion flutter.minSdkVersion + targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() versionName flutterVersionName } diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 32fd4921..3ca7e86d 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -18,6 +18,7 @@