遇到这个问题去百度,发现网上的主流办法没法解决我的问题,后来发现在app的build.gradle里面,// testImplementation ‘junit:junit:4.12’
androidTestImplementation ‘com.android.support.test:runner:1.0.2’
androidTestImplementation ‘com.android.support.test.espresso:espresso-core:3.0.2’
testImplementation和androidTestImplementation 注释掉即可。就解决了。
希望对大家有帮助。
关于Error:Unable to resolve dependency for ':@debug/compileClasspath'的解决方案
最新推荐文章于 2022-06-02 10:12:54 发布
本文分享了解决App在构建过程中遇到的问题,通过注释掉特定的测试依赖项,成功解决了构建失败的难题。
3510

被折叠的 条评论
为什么被折叠?



