Android – Google awareness API v9.6 missing

I'm interested in the new map style feature, which is added in the 9.6 Google play services version, but I'm also using the awareness API. In my build.gradle, I have

compile 'com.google.android.gms:play-services-maps:9.6.1'
compile 'com.google.android.gms:play-services-contextmanager:9.6.1'
compile 'com.google.android.gms:play-services-location:9.6.1'

And some other game services / firebase modules. V9.4 used to be valid, but now I can't solve it: com. Google. Android. GMS: play services contextmanager: 9.6.1 btw, all other libraries in version 9.6 are parsed correctly. I also try to use 9.6.0 and 9, which have no effect

Please do not suggest adding 'com. Google. Android. GMS: play services: 9.6.1' because it will greatly increase the compilation time

UPD: I just found that activity identification is included in the location package, so I don't need to be aware. But this is not the answer

resolvent:

Since 9.6.0, it has been renamed "consciousness", so you should use it

compile 'com.google.android.gms:play-services-awareness:9.6.1'

You can view it in "Google repository Rev 35", just navigate to:

ANDROID_HOME/extras/google/m2repository/com/google/android/gms

There you will see that there are no 9.6.0 and 9.6.1 folders in "play services context manager", but there is a new folder "play services awareness", 9.6.0 and 9.6.1

It's not sure whether it's permanent or temporary, because as you said in the document, it's still called "play services context manager"

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>