Failed to resolve: com.google.firebase:firebase-auth:9.0.0

pRaNaY picture pRaNaY · May 23, 2016 · Viewed 10.1k times · Source

As per Firebase codelab Android tutorial,while adding com.google.firebase:firebase-auth:9.0.0 in build.gradle dependencies, getting below error:

Error:(28, 13) Failed to resolve: com.google.firebase:firebase-auth:9.0.0

See below screenshot:

enter image description here

Answer

pRaNaY picture pRaNaY · May 23, 2016

The 9.0.0 version of Firebase was built using Google Play services 9.0

While adding compile 'com.google.android.gms:play-services:9.0.0' into my build.gradle, gradle sync successfully.

I found my answer here.