Could not get resource ‘https://dl.google.com/dl/android/maven2/com/android/
16lz
2021-12-04
- 错误
Could not get resource 'https://dl.google.com/dl/android/maven2/com/android/
Gradle sync failed: Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.Consult IDE log for more details (Help | Show Log) (52 m 5 s 412 ms)
- 解决办法
打开根目录下的build.gradle,修改marven一句:
allprojects { repositories { google() //maven { url 'http://raw.github.com/saki4510t/libcommon/master/repository/' } maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } jcenter() }}
更多相关文章
- Android(安卓)SDK Manager无法更新的解决办法
- android 多语言实现总结
- java.lang.IllegalStateException: Could not execute method fo
- Android(安卓)之 Eclipse 导入 Android(安卓)源码
- Android——导入已存在的android工程时出现红叉错误“AndroidMan
- Android(安卓)studio 启动问题,错误
- Android证书创建之 keytool 错误:java.io.IOException:Incorrect
- 初探 Ubuntu下android NDK
- Linux/Android——input系统之 kernel层 与 frameworks层交互 (