---
title: "Android SDK Manager 无法更新解决办法"
author: "hellojyj"
date: "2014-10-30T11:52:17Z"
tags: []
categories: ["非技术"]
slug: "android-sdk-manager"
draft: false
lastmod: "2014-10-30T11:52:17Z"
id: 2149649
url: "https://hellojyj.iteye.com/blog/2149649"
---

由于某些原因无法访问Google的所有[网站](http://cpro.baidu.com/cpro/ui/uijs.php?rs=1&u=http%3A%2F%2Fwww.shangxueba.com%2Fjingyan%2F2453912.html&p=baidu&c=news&n=10&t=tpclicked3_hc&q=csai_cpr&k=%CD%F8%D5%BE&k0=%CD%F8%D5%BE&k1=%CD%B6%CB%DF&k2=%C9%F9%C3%F7&k3=android&k4=windows&k5=%B9%A4%BE%DF&sid=fbd71bfe1c70e321&ch=0&tu=u1730417&jk=73a549edbf2c9725&cf=29&fv=14&stid=9&urlid=0&luki=6&seller_id=1&di=128)，因此造成[android](http://cpro.baidu.com/cpro/ui/uijs.php?rs=1&u=http%3A%2F%2Fwww.shangxueba.com%2Fjingyan%2F2453912.html&p=baidu&c=news&n=10&t=tpclicked3_hc&q=csai_cpr&k=android&k0=android&k1=windows&k2=%B9%A4%BE%DF&k3=%BB%A5%C1%AA%CD%F8&k4=etc&k5=%CD%F8%D5%BE&sid=fbd71bfe1c70e321&ch=0&tu=u1730417&jk=73a549edbf2c9725&cf=29&fv=14&stid=9&urlid=0&luki=1&seller_id=1&di=128) SDK版本[工具](http://cpro.baidu.com/cpro/ui/uijs.php?rs=1&u=http%3A%2F%2Fwww.shangxueba.com%2Fjingyan%2F2453912.html&p=baidu&c=news&n=10&t=tpclicked3_hc&q=csai_cpr&k=%B9%A4%BE%DF&k0=%B9%A4%BE%DF&k1=%BB%A5%C1%AA%CD%F8&k2=etc&k3=%CD%F8%D5%BE&k4=%CD%B6%CB%DF&k5=%C9%F9%C3%F7&sid=fbd71bfe1c70e321&ch=0&tu=u1730417&jk=73a549edbf2c9725&cf=29&fv=14&stid=9&urlid=0&luki=3&seller_id=1&di=128)无法更新。

    第一，我们先修改下hosts文件。该文件的位置在系统盘（一般为C盘），具体路径为：C:\\Windows\\System32\\ drivers\\[etc](http://cpro.baidu.com/cpro/ui/uijs.php?rs=1&u=http%3A%2F%2Fwww.shangxueba.com%2Fjingyan%2F2453912.html&p=baidu&c=news&n=10&t=tpclicked3_hc&q=csai_cpr&k=etc&k0=etc&k1=%CD%F8%D5%BE&k2=%CD%B6%CB%DF&k3=%C9%F9%C3%F7&k4=android&k5=windows&sid=fbd71bfe1c70e321&ch=0&tu=u1730417&jk=73a549edbf2c9725&cf=29&fv=14&stid=9&urlid=0&luki=5&seller_id=1&di=128)\\hosts。添加以下内容即可

    #更新的内容从以下地址下载

    203.208.46.146 dl.google.com

    203.208.46.146 dl-ssl.google.com

    第二，在Android SDK Manager的Tool-&gt;Option选项中把https的资源获取方式强制换成http协议获取的方式。

    ![](http://img2.shangxueba.com/img/dnzg/20140917/15/E464982BC60F550A2D8B7071D6726ACD.png "点击查看大图")

    好了，接下来可以更新了。