码农公社 210.net.cn 210是何含义?10月24日是程序员节,1024 = 210、210既 210 之意。
打开工程怎么也编译不过报错“Received close_notify during handshake”,如下图
想起之前也遇到过类似的错误,貌似是jcenter里面的东西下载不了引起的,所以找了一下以前的工程把配置拷贝过来,果然OK了,主要修改如下:
修改build.gradle
buildscript{
repositories{
//jcenter() //把这里注释掉,换成阿里的源
maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' }
maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
google()
}
}
allprojects{
repositories{
//jcenter() //把这里注释掉,换成阿里的源
maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' }
maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
}
}