Conflict with dependency 'com.go

2017-06-15  本文已影响0人  我才是张雷

错误内容:

Warning:Conflict with dependency 'com.google.code.findbugs:jsr305'.
Resolved versions for app (3.0.1) and test app (2.0.1) differ. 
See http://g.co/androidstudio/app-test-app-conflict for details.

解决办法:
在app的gradle中

android {
    ...
    configurations.all {
        resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'
    }
}
上一篇下一篇

猜你喜欢

热点阅读