「问题解决」SSL peer shut down incorrectly

当Android Studio报错:SSL peer shut down incorrectly

解决方法:

打开配置文件:gradle-wrapper.properties

修改红色区域:

1 如果是https://services.gradle.org/distributions/,则修改为http://services.gradle.org/distributions/

2 如果是http://services.gradle.org/distributions/,则修改为https://services.gradle.org/distributions/

即可。

猜你喜欢

转载自blog.csdn.net/sinat_27763257/article/details/85249762
今日推荐