1、将compile改成 implementation,并且刷新gradle。
2、新版本中,testCompile改为了testImplementation,所以报错,找不到testCompile()方法,把testCompile改为testImplementation即可
12-06
578
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交