1

I added a 'com.google.android.gms:play-services-auth:8.1.0' in my app dependecies but the messages log in my android studio displays Failed to resolve : com.google.android.gms:play-services-auth:8.1.0

Earwin delos Santos
  • 2,965
  • 7
  • 20
  • 29
  • I hope it helps u to solve this question [here is the link](http://stackoverflow.com/a/33577258/4554245) – Amit Saha Dec 01 '15 at 03:02

2 Answers2

0

Auth package was created in version 8.3.0, not 8.1.0. To use it you'll need to update all play services to 8.3.0.

Refer to the official doc for help: https://developers.google.com/android/guides/releases

zmarkan
  • 605
  • 5
  • 13
  • thanks for your response, now its getting clear, do you mean that google auth is new and can only be added to dependencies if the version is 8.3.0? – Earwin delos Santos Dec 01 '15 at 07:06
  • Not sure. But regardless of this, it seems that 8.1.0 is not in my local maven repository. Can you check your sdk path if it you have 8.1.0 folder here: `SDK_HOME/extras/google/m2repository/com/google/android/gms/play-services-auth/` I only have 8.3.0 so I assumed it was only introduced then. – zmarkan Dec 01 '15 at 07:26
0

You can try this:

dependencies {
        compile 'com.google.android.gms:play-services-auth:9.6.1'
}
Daniel Juric
  • 128
  • 1
  • 10