java 错误:SSL 对等方关闭不正确
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/39074882/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Error:SSL peer shut down incorrectly
提问by ghazal
I'm coding in Android studio. I cloned a project from gitHub
我在 Android Studio 中编码。我从 gitHub 克隆了一个项目
https://github.com/QuadFlask/colorpicker
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.
我不知道如何解决它,因为我是 android studio 的新手。
回答by shaojun lyu
回答by ayvarot
Using httpat the beginning of the distributionUrl resolved it for me:
在 distributionUrl 的开头使用http为我解决了这个问题:
distributionUrl=http://services.gradle.org/distributions/gradle-4.4-all.zip
distributionUrl = HTTP://services.gradle.org/distributions/gradle-4.4-all.zip