Reputation:
I am trying to implement Authenticate with Firebase on Android using a Phone Number and its second step is to add the dependency for Firebase Authentication to your app-level build.gradle file:
compile 'com.google.firebase:firebase-auth:11.0.0'
<br>after adding it , I try to sync project with Gradle Files
and it showing error<br>Error:Failed to resolve: com.google.firebase:firebase-core:11.0.0
<a href="openFile:/project/Mobileveridacetion/app/build.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a><br>Error:(26, 13) Failed to resolve: com.google.firebase:firebase-auth:11.0.0
<a href="openFile:/project/Mobileveridacetion/app/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
Upvotes: 3
Views: 3777
Reputation: 12021
Go to Tools > Android > SDK Manager click on SDK Tools and update the following to their revision number :
Upvotes: 10
Reputation: 71
Just go to SDK manager and update your Google Repository. It will work. :)
Upvotes: 5