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