6

When I try to download the Android API the Android SDK Manager log shows

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

This is not allowing the repository to be added. I verified the proxy settings under Network settings . How do I add the repository..whats the problem?

Problem Image

Abhishek
  • 874
  • 2
  • 8
  • 23

4 Answers4

11

This might be because you are connected to internet via a proxy server. So if so, you should set the proxy settings. Go to Tools>Options of the Android SDK Manager and set Http poxy server and Http Proxy Port. eg:

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

  • Http Proxy Port:3128

    Restart SDK manager and try again.

Community
  • 1
  • 1
Samitha Chathuranga
  • 1,689
  • 5
  • 30
  • 57
5

I also had a intruption when i try to unstall or update package in my SDK manager

Downloading Google USB Driver, revision 9 Download interrupted: Invalid argument: connect Done. Nothing was installed.

I resolved it by doing this :

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

enter image description here

Netero
  • 3,761
  • 2
  • 29
  • 29
0

I think this is the proxy problem.you should make the proxy settings blank.

  • Tools>Options(SDK Manager)
  • General>Network Connection(Preference)
DomonLee
  • 193
  • 1
  • 12
0

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

Escobar5
  • 3,941
  • 8
  • 39
  • 62