SDK Manager unable to fetch content - Connection to https://dl-ssl.google.com refused

荒凉一梦 提交于 2019-11-29 12:46:01

Solutions:

  1. Starting SDK manager as Administrator

  1. Starting android.bat from command-line.

  1. Updating Eclipse ADT from help/check for updates.

  1. Disabling windows firewall from Control Panel\System and Security\Windows Firewall\Customize Settings

  1. Clearing download catche from tools/options in SDK Manager.

  1. Adding Google's repository website in use-defined site from tools/Manage Add-on sites in SDK Manager.

  2. Forcing https// sources to be fetched using http:// in SDK Manager

  1. If any of above solution does not work then the last solution remained is to disable firewall of your antivirus.

Some antivirus packages like Avast contains their own firewalls that blocks fetching content in SDK manager. You must have to disable antivirus firewall from its settings.

On Linux check that the cache directory exists:

mkdir -p ~/.android/cache

and that you have rights to it:

ls -ld ~/.android/cache/
drwxr-xr-x 2 YOU YOU 4096 lis 24 13:33 /home/YOU/.android/cache/
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!