美文网首页
Error:Execution failed for task

Error:Execution failed for task

作者: 阿狸_小乖 | 来源:发表于2018-05-22 08:34 被阅读0次
Error:Execution failed for task ':app:preDebugAndroidTestBuild'.
> Conflict with dependency 'com.android.support:support-annotations' in project ':app'. Resolved versions for app (26.1.0) and test app (27.1.1) differ. See https://d.android.com/r/tools/test-apk-dependency-conflicts.html for details.

解决方法:
在app gradle 中添加如下

configurations.all {
  resolutionStrategy.force 'com.android.support:support-annotations:26.1.0'
}
image.png

原文链接:https://www.coocj.top/cms/a/1375.html

欢迎访问我的博客:https://www.coocj.top

相关文章

网友评论

      本文标题:Error:Execution failed for task

      本文链接:https://www.haomeiwen.com/subject/pxncjftx.html