From ac2a8af99dc76543ec6f7129912b5a4e8511a4fa Mon Sep 17 00:00:00 2001 From: Moutia Benachour Date: Sun, 11 Sep 2022 15:36:52 +0100 Subject: [PATCH] update android build config --- android/app/build.gradle | 8 ++------ android/app/src/main/AndroidManifest.xml | 3 ++- android/build.gradle | 8 ++++---- android/gradle/wrapper/gradle-wrapper.properties | 2 +- 4 files changed, 9 insertions(+), 12 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 7cb2de9..eee4366 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -26,20 +26,16 @@ apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { - compileSdkVersion 29 + compileSdkVersion 31 sourceSets { main.java.srcDirs += 'src/main/kotlin' } - lintOptions { - disable 'InvalidPackage' - } - defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.example.robo_advisory" - minSdkVersion 16 + minSdkVersion 20 targetSdkVersion 29 versionCode flutterVersionCode.toInteger() versionName flutterVersionName diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 4f6dda2..bc1e8ab 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -6,11 +6,12 @@ additional functionality it is fine to subclass or reimplement FlutterApplication and put your custom class here. -->