更新时间:2023-01-13 23:15:00
在您的应用程序的 build.gradle
添加以下内容:
In your app's build.gradle
add the following:
android {
configurations.all {
resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'
}
}
强制Gradle只编译您为所有依赖关系声明的版本号,而不管依赖关系已声明的版本号。
Enforces Gradle to only compile the version number you state for all dependencies, no matter which version number the dependencies have stated.