繁体   English   中英

无法解决:com.google.android.gms:play-services-location:9.6.1

[英]Failed to resolve: com.google.android.gms:play-services-location:9.6.1

更新到AS v2.2.2后,我无法再解析Google Play服务地图和位置方面。 我收到的信息是;

错误:(54,27)无法解决:com.google.android.gms:play-services-maps:9.6.1安装存储库和同步项目
/Documents/workspace//Polaris/build.gradle">在文件中显示
在Project Structure对话框中显示

安装链接不起作用,我已卸载AS并重新安装以及卸载Play服务并重新安装最新版本(撰写本文时为v37)。

所有的想法。 没有 classpath 'com.google.gms:google-services:3.0.0'apply plugin: 'com.google.gms.google-services'相关问题建议apply plugin: 'com.google.gms.google-services'位和部分。 我不知道它们是什么,所以避免......另外,它适用于Android Studio v2.2(在相同的版本9.6.1)。

任何有助于让我的谷歌风味再次建立的帮助非常感谢。

通过手动下载此处所述的Play服务并移至SDK下的位置修复。

:S

#hacking4life

暂无
暂无

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

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