android - 找不到 com.google.firebase :firebase-database:9. 2.0

标签 android firebase firebase-realtime-database

我试图将新的 firebase 数据库安装到我的应用程序中,但失败并出现下一个错误:

Error:Could not find com.google.firebase:firebase-database:9.2.0. Required by: appName:app:unspecified

比起我从 here 克隆的官方谷歌示例并试图构建数据库示例,但我仍然遇到同样的错误...

看起来这是因为一些谷歌错误。我对吗? 在其他情况下,为什么会发生以及如何解决?

最佳答案

您必须更新/安装 Google Repository,修订版 30(您的 android studio 最新版本)。

关于android - 找不到 com.google.firebase :firebase-database:9. 2.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38091687/

相关文章:

android - 在android中定义按钮事件的最佳实践

android - WrongViewCast 错误 : Unexpected implicit cast to TabLayout: layout tag was Linear Layout

android - 当我在 Google Maps Android 上完成相机移动时处理事件

java - DialogFragment 作为 Fragment 内的内部类(支持库 Fragment v4)

android - react native 谷歌登录开发人员错误代码 10

android - 如何用 firebase 实时数据库中的新字段更新子项?

android - 将图像从 android 上传到 Firebase 后如何获取图像 URL?

java - 根据recyclerview中的最后聊天记录显示用户

javascript - Firebase 查询顺序并从名称开始

javascript - 如何使异步 API 工作?