无法解析Firebase身份验证15.0.0

Raj*_*aju 10 android firebase

我是Android开发环境的新手,我需要将我的应用程序连接到firebase但是我收到此错误

无法解决:firebase-auth-15.0.0

此错误显示在语句中:

implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0' 
Run Code Online (Sandbox Code Playgroud)

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

我试图将上述声明改为

implementation 'com.google.firebase:firebase-auth:16.0.3'
Run Code Online (Sandbox Code Playgroud)

但是后来firebase依赖没有建立起来.

小智 9

implementation 'com.google.firebase:firebase-auth:16.0.1:15.0.0'
Run Code Online (Sandbox Code Playgroud)

用上面的替换

implementation 'com.google.firebase:firebase-auth:16.0.1'
Run Code Online (Sandbox Code Playgroud)