关于在Android工作室中更新gms-play-services appindexing到10.2.0

Sma*_*tem 3 android android-studio

我正在尝试将我的Google Play服务应用程序索引更新到10.2.0,并在build.gradle的依赖项中更新了编译行,如图所示,编译为"com.google.android.gms:play-services-appindexing: 10.2.0"但我面临一个错误,如图所示"无法解决:com.google.android.gms:play-services-appindexing:10.2.0".

我甚至尝试过安装存储库链接,但它没有用.

cru*_*bio 6

我遇到过同样的问题.

应用程序索引已从Play服务转移到Firebase.

您需要删除该行

compile 'com.google.android.gms:play-services-appindexing:10.2.0'
Run Code Online (Sandbox Code Playgroud)

由于此lib不存在,因此您已在依赖项中使用应用程序索引:

compile 'com.google.firebase:firebase-appindexing:10.2.0'
Run Code Online (Sandbox Code Playgroud)