出现Error:Execution failed for task ':app:preDebugAndroidTestBuild'. 的解决办法

时间:2020-07-31 21:46:18   收藏:0   阅读:108
在dependencies中添加
androidTestCompile(‘com.android.support:support-annotations:26.1.0‘) {
force = true
}

 添加后的效果:

技术图片

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!