简体   繁体   English

Google Play Services 9.2.0选择性编译感知API

[英]Google Play Services 9.2.0 Selective Compile Awareness API

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 我正在尝试在应用程序中使用新的Awareness API,但我可以将其包含在我的代码中的唯一方法是使用

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

in my gradle file. 在我的gradle文件中。

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? 有谁知道选择性编译感知API的正确编译路径是什么?

Thanks in advance. 提前致谢。

It actually does exist. 它确实存在。

//Awareness API // Awareness API

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

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 . 如果您想了解最新的Dependency,可以使用我的名为DependencyLookup的 Web工具。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 选择性Google Play Services API无法查找课程 - Selective Google Play Services API not finding classes 使用Google Play服务9.2.0的NoClassDefFoundError(Admob) - NoClassDefFoundError with Google Play Services 9.2.0 (Admob) Google Play服务地图9.2.0问题 - Google play services maps 9.2.0 issue Google Play定位服务9.2.0缺少Google归档Android资源 - Google Play Location Services 9.2.0 missing Google attribution Android resource Google Play服务GCM 9.2.0要求“更新”回9.0.0 - Google Play Services GCM 9.2.0 asks to “update” back to 9.0.0 使用Google Play服务位置API获取位置与使用Awareness API获取位置 - Getting location with the Google Play Services Location API vs getting it with the Awareness API 如果没有Google Play服务,则Google Play Services 9.2.0会导致设备意外崩溃-android.app.Instrumentation.execStartActivity上的NPE - Google Play Services 9.2.0 causes undesired crash in device without Google Play Services - NPE at android.app.Instrumentation.execStartActivity 错误:无法解决:com.google.android.gms:play-services-measurement:9.2.0 - Error:Failed to resolve: com.google.android.gms:play-services-measurement:9.2.0 使用com.google.android.gms播放服务9.2.0在Android模拟器上找不到“无法接受的模块” - “No acceptable module found” on Android emulators using com.google.android.gms play-services 9.2.0 带有API 7的Google Play服务 - Google Play services with API 7
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM