The Android SDK log shows: “Download interrupted: connection to https://dl-ssl.google.com refused”, what can I do?

When I try to download the Android API, the Android SDK Manager log is displayed in the Android Log

"Download interrupted: Connection to https://dl-ssl.google.com refused" 

This does not allow you to add a repository. I checked the proxy settings in the network settings. How to add a repository. What is the problem?

Problem Image

+6
source share
4 answers

Perhaps this is due to the fact that you are connected to the Internet through a proxy server. Therefore, if so, you must set the proxy server settings. Go to "Tools"> "Settings" of the Android SDK Manager and install the Http poxy server and Http Proxy Port. eg:

  • Http poxy server: cache.mrt.ac.lk

  • Http Proxy Port: 3128

    Restart the SDK manager and try again.

+11
source

I also had a load when I try to remove or update a package in the SDK manager

Google USB driver download, version 9 Download aborted: Invalid argument: connect Done. Nothing has been installed.

I solved this by doing the following:

In the SDK manager, go to Tools => Options and ckeck "forces https // ... to extract sources using http: // ..." as you can see in the picture

enter image description here

+5
source

I think this is a proxy problem. You must make proxy settings empty.

  • Tools> Options (SDK Manager)
  • General> Network Connection (Preference)
0
source

Sometimes I get this problem by going to Tools -> Options -> Clear Cache , solves for me.

0
source

Source: https://habr.com/ru/post/952089/


All Articles