关于Android SDK无法更新的解决办法
最新摆弄PhoneGap打包,所以需要安卓的环境,配置后,sdk更新实在是在慢了,上网找了一下,可能被强了,所有总结如下办法,最后弄好了,跟大家分享一下
具体步骤:
1:打开SDK Manager.exe
2:选择Tools-Optins,将【Force https:// ...】打勾
3:最后更新下自己的HOSTS文件,Host文件位置,以win7 64位系统为例:C:\Windows\System32\drivers\etc
可在HOSTS文件加入如下内容,以后访问谷歌等网站方便一些
- 127.0.0.1 localhost
- #Google Service
- #Chrome 网上应用
- 203.208.46.146 chrome.google.com
- 203.208.46.146 clients0.google.com
- 203.208.46.146 clients1.google.com
- 203.208.46.146 clients2.google.com
- 203.208.46.146 clients3.google.com
- 203.208.46.146 clients4.google.com
- 203.208.46.146 www.googleusercontent.com
- 203.208.46.146 lh0.googleusercontent.com
- 203.208.46.146 lh1.googleusercontent.com
- 203.208.46.146 lh2.googleusercontent.com
- 203.208.46.146 lh3.googleusercontent.com
- 203.208.46.146 lh4.googleusercontent.com
- 203.208.46.146 lh5.googleusercontent.com
- 203.208.46.146 lh6.googleusercontent.com
- 203.208.46.146 clients1.googleusercontent.com
- 203.208.46.146 clients2.googleusercontent.com
- #网页快照
- 203.208.46.146 webcache.googleusercontent.com
- #Google SSL
- 203.208.46.146 encrypted.google.com
- 203.208.46.146 encrypted.google.com.hk
- #Google Docs
- 203.208.46.146 docs.google.com
- 203.208.46.146 docs0.google.com
- 203.208.46.146 docs1.google.com
- 203.208.46.146 docs2.google.com
- 203.208.46.146 docs3.google.com
- 203.208.46.146 spreadsheets.google.com
- 203.208.46.146 spreadsheets0.google.com
- 203.208.46.146 spreadsheets1.google.com
- 203.208.46.146 spreadsheets2.google.com
- 203.208.46.146 spreadsheets3.google.com
- #Gmail
- 203.208.46.146 mail.google.com
- 203.208.46.146 chatenabled.mail.google.com #Gmail中Gtalk聊天服务
- #Google 搜索
- 203.208.46.146 www.google.com
- #Google preview
- 203.208.46.146 www.googlepreview.com
- #Google 翻译
- 203.208.46.146 translate.google.com
- 203.208.46.146 translate.googleapis.com
- #Google 搜索建议(IE9)
- 203.208.46.146 clients5.google.com
- #Google Code
- 203.208.46.146 code.google.com
- #Picasa 网络相册
- 203.208.46.146 picasaweb.google.com
- 203.208.46.146 lh0.ggpht.com
- 203.208.46.146 lh1.ggpht.com
- 203.208.46.146 lh2.ggpht.com
- 203.208.46.146 lh3.ggpht.com
- 203.208.46.146 lh4.ggpht.com
- 203.208.46.146 lh5.ggpht.com
- 203.208.46.146 lh6.ggpht.com
- 203.208.46.146 lh7.ggpht.com
- 203.208.46.146 lh8.ggpht.com
- 203.208.46.146 lh8.ggpht.com
- 203.208.46.146 lh9.ggpht.com
- 203.208.46.146 lh6.google.com
- #Google 个人资料
- 203.208.46.146 profiles.google.com
- 203.208.46.146 browsersync.google.com
- #Google+
- 203.208.46.146 talkgadget.google.com #Google+中的聊天服务
- 203.208.46.146 ssl.gstatic.com
- 203.208.46.146 images-pos-opensocial.googleusercontent.com
- 203.208.46.146 images1-focus-opensocial.googleusercontent.com
- 203.208.46.146 images2-focus-opensocial.googleusercontent.com
- 203.208.46.146 images3-focus-opensocial.googleusercontent.com
- 203.208.46.146 images4-focus-opensocial.googleusercontent.com
- 203.208.46.146 images5-focus-opensocial.googleusercontent.com
- 203.208.46.146 images6-focus-opensocial.googleusercontent.com
- 203.208.46.146 plus.google.com
- #Download 下载
- 203.208.46.146 dl.google.com
- 203.208.46.146 dl-ssl.google.com
- #Groups
- 203.208.46.146 groups.google.com
- #Google URL Shortener
- 203.208.46.146 goo.gl
- #Google App Engine
- 203.208.46.146 appengine.google.com
- #Android Developer
- 74.125.113.121 developer.android.com
最后,在win7中,你修改后可能告诉你管理权限不够,没关系,将Hosts文件复制到其他地方修改,最后在覆盖它,就大功告成了
关于Android SDK无法更新的解决办法的更多相关文章
- Xamarin Android SDK无法更新的解决办法
Xamarin Android SDK无法更新的解决办法 Xamarin Android SDK无法更新的解决办法,更新时候,提示警告信息:A folder failed to be moved. ...
- Android SDK无法更新的问题解决办法
问题: SSL hostname in certificate didn't matchhostname in certificate didn't match: <dl-ssl.google. ...
- Android Studio Gradle更新的解决办法
环境: Win7_64旗舰版.Android Studio2.1.1 问题描述: 在打开Android Studio项目的时候,会下载项目对应版本的gradle,由于是国外网站导致更新较慢,该版本是在 ...
- Android SDK无法更新的解决方法
一.说明: Android 更新sdk时访问google很慢,有时连接不上,可利用国内的某些镜像网站实现Android SDK在线更新. 二.解决方法: 在SDK Manager -> tool ...
- Android Studio 自动更新失败解决办法
Check Update一直提示Connection failed. Please check your network connection and try again,开始以为是由于G*W在捣乱, ...
- 启动Eclipse后卡在 android sdk content loader 的解决办法
Make sure that eclipse is not active. If it is active kill eclipse from the processes tab of the tas ...
- Android SDK Manager更新不了的解决办法
android SDK Manager更新不了,出现错误提示:"Failed to fetch URL..."! 可以用以下办法解决: 使用SDK Manager更新时出现问题 F ...
- Android SDK Manager无法更新的解决办法
Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xmlFailed to fetch URL https://d ...
- 解决Android SDK Manager更新、下载速度慢
hosts文件里面原来的内容不做修改,只是添加内容 方法/步骤 先看看如何加快更新速度,再说如何更新. 首先更新host文件,如图,打开目录 C:\Windows\System32\drivers\e ...
随机推荐
- Azure进阶攻略 | 下载还是在浏览器直接打开,MIME说了算!
多年来,从一开始的网络菜鸟发展成 Azure 云专家,想必你一定学到了很多知识.不知道在这个过程中你自己是否遇到过,或者被人问到过类似下面这样的问题: 同样是直接点击网页上提供的 .mp4 视频文件链 ...
- Tomcat配置文件server.xml分析
本文力求,分析清楚 tomcat 的 server.xml 文件,逐步完善更新 常用来,配置tomcat启动,端口号:配置编码等. apache-tomcat-9.0.10/conf/server.x ...
- vos设置可呼出手机或固话
问题: 默认公司只让呼出手机号码,但有的客户要求能打固话,怎么办? 落地网关——补充设置——落地前缀——落地被叫改写规则 在改写规则里添加固话号段即可 具体案例: 5201——1表示让520号段只能拨 ...
- Angular2、4入门基础知识(小的概念)
1. 使用引用符来格式化HTML代码. @Component({ selector: 'app-heroes', templateUrl: './heroes.component.html', sty ...
- 实现pdf word在线浏览和下载
这篇实现的是在线展示pdf和word并且不能显示下载和打印按钮 一 下载功能: 因为html5给a标签新添加了一个属性download,这个属性可以直接实现下载文件的功能:<a href=&qu ...
- phpStudy-在使用phpMyAdmin报404Error
今天刚刚知道什么是phpStudy和phpMyAdmin,感觉还可以吧.熬到凌晨两点多就为看这点东西.结果不知道怎么回事,当我在网上转一圈回来后发现自己的数据管理器竟然进不进去了! 神马情况啊?我的解 ...
- Uva 10375 选择与除法 唯一分解定理
题目链接:https://vjudge.net/contest/156903#problem/E 题意:已知 求:C(p,q)/C(r,s) 其中p,q,r,s都是10^4,硬算是肯定超数据类型的. ...
- phpmyadmin 打开数据表较多,数据量较大的数据库时出现超时的解决办法
用phpmyadmin打开数据表较多,数据量较大的数据库时,会出现超时,或者等半天打开了说数据库没有表.并且即便打开了,再进行其他浏览,编辑,sql等操作,页面也是相当慢的,慢等几乎无法忍受.这里慢也 ...
- 裁剪插件jCrop
为大家介绍个插件:jCrop.这个插件被我用在了多个项目中,如通过画热力图来查看某块地方用户的浏览数,放大缩小拖动选框来实时预览所选区域的图片病裁剪,设置头像是选框必须要是正方形,它有着丰富的配置参数 ...
- tensorflow与android编译
我的过程: 1.下载tensorflow 2.下载ndk.sdk然后放到了tensorflow的目录下 3,修改workspace 4.运行命令:bazel build -c opt //tensor ...