解决SSL peer shut down incorrectly

1.找到gradle-wrapper.properties文件,把distributionUrl=http://services.gradle.org/distributions/gradle-4.1-all.zip这个默认是https   改成http就行

2. 找到项目的build.gradle   全部把             jcenter()      全部改成 jcenter(){url 'http://jcenter.bintray.com/'}

猜你喜欢

转载自blog.csdn.net/xiexiaotian11/article/details/86598063