【问题标题】:Cannot find Google Awareness API找不到 Google Awareness API
【发布时间】:2016-10-12 08:49:55
【问题描述】:

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

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

但是,它似乎不起作用。我做错了什么?

【问题讨论】:

    标签: android google-play-services google-awareness


    【解决方案1】:

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

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

    【讨论】:

    • 谢谢!你是怎么发现的?
    • 您可以在“ANDROID_HOME/extras/google/m2repository/com/google/android/gms”这条路径上找到 google 存储库。在那里你可以看到包裹。现在在官方文档中它们也发生了变化。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多