From 80cc8cbb404f9b92125d6dfdc77f2354d16d506b Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 7 Sep 2025 18:30:35 +0800 Subject: [PATCH] :bug: Fix android build --- android/app/build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 47f8bf57..2c56bf94 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -24,6 +24,8 @@ android { ndkVersion = "29.0.13113456" compileOptions { + isCoreLibraryDesugaringEnabled = true + sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } @@ -63,6 +65,8 @@ android { } dependencies { + coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4") + implementation("com.google.android.material:material:1.12.0") implementation("com.github.bumptech.glide:glide:4.16.0") implementation("com.squareup.okhttp3:okhttp:5.1.0")