请通过更新 google-services 插件的版本来修复版本冲突(有关最新版本的信息可在https://bintray.com/android/android-tools/com.google.gms.google-services/ 获得)或将 com.google.android.gms 的版本更新为 11.0.2。
在我的应用程序中使用 firebase 和 GMap 时,我总是遇到这个问题。
我想出了一些办法,我的问题通过更改对 firebase 和 appcompat 版本的依赖来解决。Firebase 依赖项应该都在同一版本中,只需在 appcompat 中尝试其他版本,直到它与 firebase 兼容。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句