diff --git a/app/build.gradle b/app/build.gradle index 2a8994b3..f8212682 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -34,6 +34,7 @@ android { } } compileOptions { + coreLibraryDesugaringEnabled true sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } @@ -76,4 +77,5 @@ dependencies { androidTestImplementation 'androidx.test.ext:junit:1.1.2-rc03' androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-rc03' androidTestImplementation "androidx.ui:ui-test:$compose_version" + coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.0.10" }