官方配置文档 https://github.com/google/guava/wiki/UseGuavaInYourBuild
dependency 直接用下面那个就好了
编译之后报错 原文连接 :https://www.jianshu.com/p/d5d3a92e5e1d
Warning:Conflict
with dependency
'com.google.code.findbugs:jsr305'.
在build.gradle的 Android{ }里添加:
configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'
}