diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 26b92b4..62fddff 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -13,6 +13,7 @@ android { compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 + isCoreLibraryDesugaringEnabled = true } kotlinOptions { @@ -30,6 +31,10 @@ android { versionName = flutter.versionName } + dependencies { + coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.4") + } + buildTypes { release { // TODO: Add your own signing config for the release build.