Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to resolve Firebase auth 15.0.0

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

Failed to resolve: firebase-auth-15.0.0

This error is shown in the statement:

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

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'

But then firebase dependency is not setting up.

like image 784
Raju Avatar asked Sep 28 '18 14:09

Raju


2 Answers

Instead of:

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

Insert these two lines:

implementation 'com.google.firebase:firebase-auth:16.1.0'
implementation 'com.google.firebase:firebase-core:16.0.6'

Warnings should disappear

like image 168
SO 80 Avatar answered Nov 15 '22 18:11

SO 80


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

Replace the above one with

implementation 'com.google.firebase:firebase-auth:16.0.1'
like image 42
Santhosh s Avatar answered Nov 15 '22 18:11

Santhosh s