解决错误:com.google.code.findbugs:js
2016-12-03 本文已影响4278人
start筑梦
报错信息:解决库依赖冲突问题
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.
解决方法:
在build.gradle的 Android{ }里添加:
configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'
}