From 8df0101f215a8d78b6d30e9bae6698e804d43b43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktoras=20Laukevi=C4=8Dius?= Date: Mon, 5 Aug 2024 11:04:35 +0300 Subject: [PATCH] Fix android example app's build --- android/build.gradle | 3 +-- example/android/app/build.gradle | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index 1b95b8c..c7c9f5b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -26,8 +26,6 @@ apply plugin: 'com.android.library' apply plugin: 'kotlin-android' android { - compileSdkVersion 33 - compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 @@ -42,6 +40,7 @@ android { } defaultConfig { + compileSdk 34 minSdkVersion 26 } } diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index 63fe2bb..0c22864 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -28,8 +28,6 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" android { namespace 'com.argyle' - compileSdkVersion 34 - compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 @@ -47,6 +45,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.argyle.demo.development.release" minSdkVersion 26 + compileSdk 34 targetSdkVersion 34 versionCode flutterVersionCode.toInteger() versionName flutterVersionName