美文网首页Android开发学习
解决:Error:Conflict with dependen

解决:Error:Conflict with dependen

作者: 小小程序员jh | 来源:发表于2017-10-09 15:14 被阅读3次

解决方法:
打开app的build.gradle,在Android节点下添加:

configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:3.0.1'
}

或者把dependences下的这句话删除:
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})

相关文章

网友评论

    本文标题: 解决:Error:Conflict with dependen

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