Android SDK Manager won't update: connection to https://dl-ssl.google.com refused

后端 未结 23 2334
后悔当初
后悔当初 2020-12-13 08:50

This is the same problem as a number of other have reported, e.g.

Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connect

相关标签:
23条回答
  • 2020-12-13 09:43

    i got the same problem today, and i think is because the china GFW block me. bad ass.. ok,try this,sdk manager -> tools them use proxy, i tried ,

    proxy server: www.google.com.hk (i am in china,try www.google.com if other country)。
    proxy port  : 80
    and choose Force https://.... sources    bala bala
    

    then click packages -> reload,the problem is gone. i find this when i google this issue.

    0 讨论(0)
  • 2020-12-13 09:43

    This is a Proxy issue. Try using your Browser proxy settings to SDK MANAGER>>Tools >> Option Settings page. It will work 100%.

    0 讨论(0)
  • 2020-12-13 09:46

    I had the same issue - then i noticed you can revert to http as well. THis is easier trying to figure out the firewall configuration.

    screenshot

    0 讨论(0)
  • 2020-12-13 09:47

    I have faced the same problem in Windows. Then it worked for me after doing the following steps:

    Open cmd as administrator
    ping dl-ssl.google.com
    Go to the SDk manager and retry the installation
    

    (Note: Make sure to have the default options in SDK manager. Dont check Force https.... option before following the above steps)

    0 讨论(0)
  • 2020-12-13 09:48

    there might be several problems if you are in an organization maybe you got blocked bacause of firewall settings but and indorder to fix it go to your android SDK manager> tools> options> and you will see the following page

    enter image description here

    in here set the configurations for a proxy server that SDK manager can use to fetch the dependencies.

    but also it might be a problem at a lower level i mean u might be cut off from a accessing google services due to sanctions or sth, in that case you have to download the following stuff manually and past it i your android sdk root: platform-tools and the platforms (android APIs) directories after that you have the following folders in your sdk location.

    enter image description here

    0 讨论(0)
  • 2020-12-13 09:49

    The solution for me was just to keep retrying. The easiest way I found was to periodically hit refresh in my browser and once XML was returned, switch to Eclipse -> SDK Manager. For whatever reason it appears my IP address block is being severely throttled by https://dl-ssl.google.com. Hopefully a Google engineer can check out this server's configuration (denyhosts settings??) as it seems to be an ongoing problem with a number of topics in Google groups

    0 讨论(0)
提交回复
热议问题