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

查看:1240
本文介绍了无法解析: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\">显示
中的文件
显示
项目结构对话框

安装链接不起作用,我卸载了AS并重新安装,并卸载了Play Services并重新安装了最新的

完全没有想法,我不知道有 classpath'com.google。 gms:google-services:3.0.0' apply plugin:'com.google.gms.google-services'位和相关部分我不知道它们是如何避免的......再加上它在Android Studio v2.2上工作(在相同的版本9.6.1)。

<

解决方

通过按照此处所述手动下载Play Services并在SDK下移动位置来修复

p>

:S



#hacking4life


Having updated to AS v2.2.2 I can no longer resolve the Google Play Services maps and location facets. The message I receive is;

Error:(54, 27) Failed to resolve: com.google.android.gms:play-services-maps:9.6.1 Install Repository and sync project
/Documents/workspace//Polaris/build.gradle">Show in File
Show in Project Structure dialog

The install link does not work and I have uninstalled AS and reinstalled as well as having uninstalled Play Services and reinstalled the latest (v37 at the time of writing).

All out of ideas. I do not have the classpath 'com.google.gms:google-services:3.0.0' and apply plugin: 'com.google.gms.google-services' bits and pieces that related questions suggest. I don't know what they are for so avoiding... plus, it worked on Android Studio v2.2 (at the same version 9.6.1).

Any help in getting my Google flavour to build again much appreciated.

解决方案

Fixed by manually downloading Play Services as described here and moving into position under the SDK.

:S

#hacking4life

这篇关于无法解析:com.google.android.gms:play-services-location:9.6.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆