diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index a556f45..839716f 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -7,10 +7,11 @@ plugins { android { namespace = "com.jlmak.household_keeper" - compileSdk = flutter.compileSdkVersion + compileSdk = 35 ndkVersion = flutter.ndkVersion compileOptions { + isCoreLibraryDesugaringEnabled = true sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } @@ -42,3 +43,7 @@ android { flutter { source = "../.." } + +dependencies { + coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4") +} diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 25ca340..dfd2c60 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,4 +1,7 @@ + + + + + + + + + + + +