无法解析Firebase身份验证15.0.0 [英] Failed to resolve Firebase auth 15.0.0

查看:92
本文介绍了无法解析Firebase身份验证15.0.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是android开发环境的新手,我需要将我的应用连接到firebase,但出现此错误

I am new to android development environment and I need to connect my app to firebase but I am getting this error

无法解决:firebase-auth-15.0.0

Failed to resolve: firebase-auth-15.0.0

该错误显示在语句中:

implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0' 

此语句包含两个版本的详细信息,我认为错误是由于此引起的,但是此特定语句由firebase本身提供.查看图片:

This statement contain details of two versions, I think the error is caused due to this, but this particular statement is provided by firebase itself. See the image:

我试图将以上声明更改为

I tried to change the above statement to

implementation 'com.google.firebase:firebase-auth:16.0.3'

但是,firebase依赖性没有建立.

But then firebase dependency is not setting up.

推荐答案

implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'

将上面的替换为

implementation 'com.google.firebase:firebase-auth:16.0.1'

这篇关于无法解析Firebase身份验证15.0.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆