Android Studio 中Conflict with dependency 'com.google.code.findbugs:jsr305'

工程中遇到这种问题:Conflict with dependency 'com.google.code.findbugs:jsr305'

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


解决方法:

In your apps build.gradle add the following within android { }:

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


你可能感兴趣的:(android)