Error:SSL peer shut down incorrectly

2019-04-17 18:16发布

问题:

I'm coding in Android studio. I cloned a project from gitHub

https://github.com/QuadFlask/colorpicker

but I have this problem,

I don't know how to solve it because I'm new in android studio.

回答1:

I have come across the same problem,here is how i fix it.Change the item distributionUrl of gradle-wrapper.properties file to your local gradle,detail see the picture below:



回答2:

Using http at the beginning of the distributionUrl resolved it for me:

distributionUrl=http://services.gradle.org/distributions/gradle-4.4-all.zip