其他各种库都在[[17.0.0,17.0.0]]请求com.google.firebase:firebase-iid库,但解析为16.2.0 [英] The library com.google.firebase:firebase-iid is being requested by various other libraries at [[17.0.0,17.0.0]], but resolves to 16.2.0
问题描述
我今天开始收到此错误,昨天一切正常,gradle或firebase版本没有变化
I started to get this error today, yesterday everything worked fine, there was no changes in gradle or firebase version
com.google.firebase:firebase-iid库是由以下人员请求的 [[17.0.0,17.0.0]]的其他各种库,但解析为16.2.0. 禁用插件,并使用./gradlew检查您的依赖关系树 :app:依赖项.
The library com.google.firebase:firebase-iid is being requested by various other libraries at [[17.0.0,17.0.0]], but resolves to 16.2.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
我看到昨天是google-services插件中的更新,可能是造成了问题.
I saw that yesterday was update in google-services plugin, probably that is causing the problem.
如何解决此问题?
推荐答案
我遇到了同样的问题.一个快速的解决方法是禁用导致此问题的严格版本检查.添加
I had the same issue. A quick fix would be to disable the strict version checking that is causing this problem. Add
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
位于应用程序build.gradle文件的最底部.
at the very bottom of your app build.gradle file.
这篇关于其他各种库都在[[17.0.0,17.0.0]]请求com.google.firebase:firebase-iid库,但解析为16.2.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!