Google Play Services 9.2.0 Selective Compile Awareness API

南笙酒味 提交于 2019-12-10 09:41:27

问题


I'm trying to use the new Awareness API in an app but the only way that I can include it in my code is by using

compile 'com.google.android.gms:play-services:9.2.0'

in my gradle file.

I tried using

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

but it doesn't seem to exist.

Does anyone know what the correct compile path for selective compile of the awareness API is?

Thanks in advance.


回答1:


It actually does exist.

//Awareness API

compile 'com.google.android.gms:play-services-contextmanager:9.2.0'



回答2:


Today you have to include:

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

If you want to know the latest Dependency you can use my web tool called DependencyLookup.



来源:https://stackoverflow.com/questions/38100627/google-play-services-9-2-0-selective-compile-awareness-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!