android - 找不到 Google Awareness API

标签 android google-play-services google-awareness

遵循 official documentation 中的指南,我尝试使用以下语句将 Awareness API 添加为我的应用程序的依赖项:

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

不过,好像不行。我做错了什么?

最佳答案

Awareness API 依赖项已重命名为 com.google.android.gms:play-services-awareness。您的编译语句应如下所示:

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

关于android - 找不到 Google Awareness API,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39967874/

相关文章:

android - 使用未签名的 APK 测试 Google Play 服务

android - 需要 Google Play 服务变更日志/发行说明

android - Google Awareness API、无效的 API key 、崩溃

Android Awareness API 多重围栏注册

android - 为什么布局不符合指定的权重?

android - 如何从 Android 联系人中获取名字和姓氏?

android - 每 n 秒获取一次传感器值

android - 有什么方法可以从顶级项目 gradle 中删除 "classpath ' com.google.gms :google-services:4. 2.0' 依赖项

java - 如何从点的 ArrayList 中获取 GeoPoint?