如何解决“错误:无法解决:com.google.firebase:firebase-auth:19.1”?

时间:2019-11-05 07:47:43

标签: android firebase firebase-authentication

我正在通过self_studying使用一些入门教程来使用Firebase开发我的第一个Android应用程序。 现在,我正尝试按照以下步骤设置用户路径。

  1. 选择登录方式(电子邮件/密码)
  2. 转到文档->复制Gradle依赖项行(身份验证),该行为com.google.firebase:firebase-auth:19.1.0
  3. 将依赖项下的build.gradle(Module:App)粘贴为implementation 'com.google.firebase:firebase-auth:19.1.0'
  4. 同步项目

问题是当我同步项目时出现以下错误。

ERROR: Failed to resolve: com.google.firebase:firebase-auth:19.1
Show in Project Structure dialog
Affected Modules: app

有人可以帮助我解决此错误吗?

P.S。我看到了一些帖子,它们具有相同的问题,但版本不同。答案是版本更改。这就是为什么我要一个更具体的解决方案。

0 个答案:

没有答案