diff --git a/apps/mobile/android/app/build.gradle.kts b/apps/mobile/android/app/build.gradle.kts index 3957a6c..de16eb2 100644 --- a/apps/mobile/android/app/build.gradle.kts +++ b/apps/mobile/android/app/build.gradle.kts @@ -70,7 +70,10 @@ dependencies { implementation("androidx.core:core-ktx:1.15.0") implementation("com.squareup.okhttp3:okhttp:4.12.0") testImplementation("junit:junit:4.13.2") - testImplementation("com.squareup.okhttp3:mockwebserver:4.12.0") + // mockwebserver 须对齐实际解析的 okhttp:fluwx 传递 okhttp 5.x + // (冲突调解覆盖本模块 4.12 声明),4.12 的 mockwebserver 在 5.x + // 运行时缺 okhttp3.internal.Util → NoClassDefFoundError。 + testImplementation("com.squareup.okhttp3:mockwebserver:5.2.1") } flutter {