找不到com.google.android.gms:发挥服务 - 分析:8.1.0 [英] Could not find com.google.android.gms:play-services-analytics:8.1.0

查看:1127
本文介绍了找不到com.google.android.gms:发挥服务 - 分析:8.1.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图编译和调试Android应用我的工作产生了以下错误:

Attempting to compile and debug the Android application I am working on resulted in the following errors:

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_prodDebugStagingCompile'.
   > Could not find com.google.android.gms:play-services-analytics:8.1.0.
     Searched in the following locations:
         https://repo1.maven.org/maven2/com/google/android/gms/play-services-analytics/8.1.0/play-services-analytics-8.1.0.pom
         https://repo1.maven.org/maven2/com/google/android/gms/play-services-analytics/8.1.0/play-services-analytics-8.1.0.jar
         https://jcenter.bintray.com/com/google/android/gms/play-services-analytics/8.1.0/play-services-analytics-8.1.0.pom
         https://jcenter.bintray.com/com/google/android/gms/play-services-analytics/8.1.0/play-services-analytics-8.1.0.jar
 ...

这些是源关闭或过期?

Are these sources down or expired?

推荐答案

打开Android SDK工作室经理,确保所有的开发工具是最新的。然后确保你的谷歌播放服务和谷歌信息库软件包保持最新状态。在Android SDK工作室经理,你会在SDK工具标签下找到这些。如果您使用的是独立的SDK管理器,你会向下滚动到底部的其他部分,更新他们那里。

Open the Android Studio SDK manager, make sure all of your build tools are up to date. Then make sure your Google Play Services and Google Repository packages are up to date. In the Android Studio sdk manager, you'll find these under the "SDK Tools" tab. If you are using the standalone sdk manager, you would scroll down to the "Extras" section at the bottom and update them there.

这篇关于找不到com.google.android.gms:发挥服务 - 分析:8.1.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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