本来以为是要加上http://mirrors.neusoft.edu.cn的,但是我把代理删掉,然后在设置里面选Auto-detct proxy settings,然后可以更新了,顺利更新了lldb 3.0,然后可以调试了。把http://mirrors.neusoft.edu.cn加入
Proxy设置还是会报不能connect,这是怎么回事得弄清楚,先做个记录。
http://ping.chinaz.com/dl-ssl.google.com
这里能查到dl.google.com 和dl-ssl.google.com
我也插入到了/etc/hosts文件中,然后sudo /etc/init.d/networking restart,但是不管用,我干脆把hosts文件中添加的注释了。
在更新前我已经设置了aliyun,这样能顺利更新资源。
buildscript {
repositories {
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
jcenter()
//maven { url 'https://dl.google.com/dl/android/maven2/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
jcenter()
//maven { url 'https://dl.google.com/dl/android/maven2/' }
}
}
Android Dev Tools官网地址:http://www.androiddevtools.cn/
Android SDK在线更新镜像服务器
-
中国科学院开源协会镜像站地址:
-
IPV4/IPV6:
mirrors.opencas.cn
端口:80 -
IPV4/IPV6:
mirrors.opencas.org
端口:80 -
IPV4/IPV6:
mirrors.opencas.ac.cn
端口:80
-
-
上海GDG镜像服务器地址:
sdk.gdgshanghai.com
端口:8000 -
北京化工大学镜像服务器地址:
-
IPv4:
ubuntu.buct.edu.cn/
端口:80 -
IPv4:
ubuntu.buct.cn/
端口:80 -
IPv6:
ubuntu.buct6.edu.cn/
端口:80
-
-
大连东软信息学院镜像服务器地址:
mirrors.neusoft.edu.cn
端口:80 -
腾讯Bugly 镜像:
android-mirror.bugly.qq.com
端口:8080腾讯镜像使用方法:http://android-mirror.bugly.qq.com:8080/include/usage.html