1

Following a guide from the official documentation, I have attempted to add the Awareness APIs as a dependency of my application using the following statement:

compile "com.google.android.gms:play-services-contextmanager:9.6.1"

However, it doesn't seem to work. What am I doing wrong?

stkent
  • 19,772
  • 14
  • 85
  • 111

1 Answers1

2

The Awareness API dependency has been renamed to com.google.android.gms:play-services-awareness. Your compile statement should be as follows:

compile 'com.google.android.gms:play-services-awareness:9.6.1'
stkent
  • 19,772
  • 14
  • 85
  • 111
Ajith Pandian
  • 1,332
  • 13
  • 21
  • Thanks! how did you find this out ? –  Oct 14 '16 at 03:00
  • you can find google repository on "ANDROID_HOME/extras/google/m2repository/com/google/android/gms" this path. There you can see the packages. Now in official documentation also they have changed. – Ajith Pandian Oct 14 '16 at 05:21