当我尝试添加 AndroidX Test JUnit 1.0.0-beta01 的依赖时:
androidTestImplementation androidx.test.ext:junit:1.0.0-beta01
,Gradle 同步失败并显示以下错误:手动添加 org.junit 依赖的所有操作也没有起到帮助作用。无法解析:org.junit:junit:4.12
testImplementation 'junit:junit:4.12'
。 - ॐ Rakesh Kumar