今天打开项目,打工工程怎么也编译不过报错“Received close_notify during handshake”,如下图
刚开始报某个依赖下载不了,后来又是这个,各种折腾呀
最后上度娘找了几个小时,哎,终于找到一位同仁的方法有效,记录下来,哎哎哎。。。。。。。
修改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'}
}
}