5

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

pRaNaY
  • 24,642
  • 24
  • 96
  • 146
  • 3
    This one shouldn't be marked as duplicate because this one actually gives a direct answer while the other is vague. The other one doesn't specify what needs to be added like the answer below. – Steve C. May 23 '16 at 20:42
  • Adding Firebase is now Very easy refer here http://stackoverflow.com/a/41564507/5996106 – karanatwal.github.io Jan 10 '17 at 09:15

1 Answers1

7

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.

Community
  • 1
  • 1
pRaNaY
  • 24,642
  • 24
  • 96
  • 146