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

后端 未结 23 2335
后悔当初
后悔当初 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:49

    If see connection error on a headless server, ./android update sdk -u -s

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

    Go to tools-> options and then give the details of your proxy server and port. Then click on packages->reload

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

    The solution for me on my Mac was to temporarily disable/turn off Little Snitch. The Snitch was blocking my access to dl-ssl.google.com and I didn't know it because I had the Snitch set to 'silent' mode, and therefore I was unaware it was blocking the SDK Manager.

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

    In my case, on Linux, the problem was that something had previously created the ~/.android directory with root ownership. So eclipse couldn't write to this directory. Once discovered, this was simply resolved with:

    sudo chown -R $USER:$USER ~/.android
    
    0 讨论(0)
  • 2020-12-13 09:52

    New and real Solution! Tested On windows 10. 1- Download and run psiphon or freegate and connect it (turn on) 2- after, Search "Internet Properties" or "Internet Option"in start Internet Option Icon

    3- then Open it and go to Connections tab then LAN setting and click on Advance 4- Now you can see the proxy address and port that psiphon or freegate uses it and Now copy those and past to SDK manager proxy Setting 5- then clear cashe and check all check boxes except "ask before restarting ADB" 6- now close the setting window and reload packages. congratulations, Now you have access to the all latest version of packages Notices! 1- do all steps, Step by step 2- connect psiphon or freegate before every thing and don't disconnect them untill you download packages you want! 3- if you disconnect psiphon every time, you must do all steps again. Good luck

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