我今天开始收到这个错误,昨天一切正常,gradle 或 firebase 版本没有变化
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.
I saw that yesterday was update in google-services plugin ,这可能是导致问题的原因。
如何解决这个问题?
最佳答案
我有同样的问题。一个快速的解决方法是禁用导致此问题的严格版本检查。添加
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
在应用程序 build.gradle 文件的最底部。
关于android - 库 com.google.firebase :firebase-iid is being requested by various other libraries at [[17. 0.0,17.0.0]],但解析为 16.2.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51839721/