---
title: "android SDK安装出现Failed to fetch URL http://dl-ssl.google.com/android/repository/a"
author: "hualikejava"
date: "2013-04-21T09:26:50Z"
tags: []
categories: ["移动开发"]
slug: "android-sdk-failed-to-fetch-url-http-dl-ssl-google-com-android-repository-a"
draft: false
lastmod: "2013-04-21T09:27:16Z"
id: 1850911
url: "https://hualikejava.iteye.com/blog/1850911"
---

早上起来弄了下环境，直接在android官方下载了个adtecplise ，自带了个4.2的sdk，可我平时还用到2.3.3的版本。于是我就去更新其他，发现不能更新出现Failed to fetch URL [http://dlssl.google.com/android/repository/a](http://dlssl.google.com/android/repository/a)

在网上找了好多资料，解决这个问题，修改 HOSTS,    HTTP  和  HTTPS都没解决。

1.修改c:/windows/system32/dervices/etc/hosts

添加

203.208.46.146 [www.google.com](http://www.google.com/)  
74.125.113.121 developer.android.com  
71.125.237.1 dl.google.com  
203.208.46.146 dl-ssl.google.com

 我尝试了下无效

2.打开android adb manager 菜单上有个tool--options--设置如下图

![](http://dl.iteye.com/upload/attachment/0083/4508/aa7342e2-1346-3539-a26f-e86c768f0388.png)

据说是别屏蔽了谷歌的东西，但google.com是没别屏蔽。