简体   繁体   English

找不到Google Awareness API

[英]Cannot find Google Awareness API

Following a guide from the official documentation , I have attempted to add the Awareness APIs as a dependency of my application using the following statement: 按照官方文档中的指南,我尝试使用以下语句将Awareness API添加为我的应用程序的依赖项:

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

However, it doesn't seem to work. 但是,它似乎不起作用。 What am I doing wrong? 我究竟做错了什么?

The Awareness API dependency has been renamed to com.google.android.gms:play-services-awareness . Awareness API依赖项已重命名为com.google.android.gms:play-services-awareness Your compile statement should be as follows: 您的编译语句应如下所示:

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

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM