SSL shut down incorrectly

(BIYALOU-SAMA Asbathou) #1

I’am using android Studio. When I want to sync my project with Gradle, it have to download the distributions. But I have this error: SSL peer shut down incorrectly.
I don’t know how to fix it.

(dan zen) #2

you can try it with

gradle -Dhttps.protocols=TLSv1.2 build

it is related to jdk1.7 not support the tlsv1.2 as default