Google Play Services 9.2.0 Selective Compile Awareness API [英] Google Play Services 9.2.0 Selective Compile Awareness API
本文介绍了Google Play Services 9.2.0 Selective Compile Awareness API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图在应用程序中使用新的Awareness API,但我可以将它包含在代码中的唯一方法是使用
compile'com.google.android.gms:play-services:9.2.0'
在我的gradle文件中。
我试过使用
编译'com.google.android.gms:play-services-awareness:9.2.0'
但它似乎并不存在。
有谁知道选择性编译意识API的正确编译路径是什么?
预先致谢。
解决方案
实际上确实存在。
// Awareness API
compile'com.google.android.gms:play-services-contextmanager:9.2.0 '
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.
解决方案
It actually does exist.
//Awareness API
compile 'com.google.android.gms:play-services-contextmanager:9.2.0'
这篇关于Google Play Services 9.2.0 Selective Compile Awareness API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文