Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error:(27, 13) Failed to resolve: com.google.firebase:firebase-core:9.8.0

I'm trying to use Firebase in my app.

After adding three lines to Gradle, I get this error:

Error:(27, 13) Failed to resolve: com.google.firebase:firebase-core:9.8.0

Here are some images of my code:

this is in the application Gradle this is something else this is in the application Gradle

Why am I getting this error?

like image 260
SaTech Avatar asked Nov 01 '16 05:11

SaTech


1 Answers

Make sure the Google Repository and its related repostories has been updated to the latest version. Check by going to the SDK Manager -> Extras Section.

enter image description here

Firebase Doc Link

like image 200
skynet Avatar answered Sep 20 '22 22:09

skynet