Android SDK manager SSL peer shut down incorrectly

Viewed 41731

When I try using Android SDK manager to download the ARM EABI for Android 4.1 it refuses to to install it. I get the following message: "SSL peer shut down incorrectly". This is on a Windows XP OS. Any idea what is happening here and what I can do to resolve the problem?

8 Answers

This is because you are trying to access a https link using http protocol. By default android allows only http requests. To change go to

**File-->Settings-->System Settings --> Android SDK **

Click on SDK Update Sites tab. At the bottom check Force https// sources to be fetched using http//

Happy Coding

Open Android SDK Manager Go to SDK Update sites Check Force https// sources to be fetched using http

enter image description here

No matter how stupid it sounds, on Mac restarting the computer solves the problem. I spent several hours trying to fix the problem, restarted the computer for some reason and it worked.

I got the same problem after a couple months, restarting the computer solved the problem again.

Please check your internet connection and restart Android Studio. I have faced this error due to unavailability of internet.

1.Download the particular version you wish to download from https://services.gradle.org/distributions/

2.Modify the distributionUrl in the gradle-wrapper.properties file to version you have downloaded. For example, gradle-4.6-all.zip

3.Paste the file to the location ~/AndroidStudioProjects/YourProjectFolder/gradle/wrapper/

Hope this solves the issue.

__ clean and rebuild ... not working __ force https.. not working

I fixed it by this way.

1- open the gradle-wrapper.properties file, Modify the distributionUrl

distributionUrl=https://services.gradle.org/distributions/gradle-5.1.1-all.zip

2- exchange https by http and sync after running and downloading little part stop it and then turn it back to https and sync .. voila it is working.

Related