diff --git a/android/android-studio/app/build.gradle b/android/android-studio/app/build.gradle index d322f16..c398b3a 100644 --- a/android/android-studio/app/build.gradle +++ b/android/android-studio/app/build.gradle @@ -25,6 +25,7 @@ android { compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 + coreLibraryDesugaringEnabled true } kotlinOptions { @@ -51,6 +52,7 @@ dependencies { implementation platform('io.github.Rosemoe.sora-editor:bom:0.23.5') implementation 'io.github.Rosemoe.sora-editor:editor' implementation 'io.github.Rosemoe.sora-editor:language-textmate' + coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.4' implementation platform('androidx.compose:compose-bom:2024.06.00') implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0' implementation 'androidx.core:core-ktx:1.12.0'