最新摆弄PhoneGap打包,所以需要安卓的环境,配置后,sdk更新实在是在慢了,上网找了一下,可能被强了,所有总结如下办法,最后弄好了,跟大家分享一下

具体步骤:
1:打开SDK Manager.exe
2:选择Tools-Optins,将【Force https:// ...】打勾

3:最后更新下自己的HOSTS文件,Host文件位置,以win7 64位系统为例:C:\Windows\System32\drivers\etc

可在HOSTS文件加入如下内容,以后访问谷歌等网站方便一些

  1. 127.0.0.1 localhost
  2. #Google Service
  3. #Chrome 网上应用
  4. 203.208.46.146 chrome.google.com
  5. 203.208.46.146 clients0.google.com
  6. 203.208.46.146 clients1.google.com
  7. 203.208.46.146 clients2.google.com
  8. 203.208.46.146 clients3.google.com
  9. 203.208.46.146 clients4.google.com
  10. 203.208.46.146 www.googleusercontent.com
  11. 203.208.46.146 lh0.googleusercontent.com
  12. 203.208.46.146 lh1.googleusercontent.com
  13. 203.208.46.146 lh2.googleusercontent.com
  14. 203.208.46.146 lh3.googleusercontent.com
  15. 203.208.46.146 lh4.googleusercontent.com
  16. 203.208.46.146 lh5.googleusercontent.com
  17. 203.208.46.146 lh6.googleusercontent.com
  18. 203.208.46.146 clients1.googleusercontent.com
  19. 203.208.46.146 clients2.googleusercontent.com
  20. #网页快照
  21. 203.208.46.146 webcache.googleusercontent.com
  22. #Google SSL
  23. 203.208.46.146 encrypted.google.com
  24. 203.208.46.146 encrypted.google.com.hk
  25. #Google Docs
  26. 203.208.46.146 docs.google.com
  27. 203.208.46.146 docs0.google.com
  28. 203.208.46.146 docs1.google.com
  29. 203.208.46.146 docs2.google.com
  30. 203.208.46.146 docs3.google.com
  31. 203.208.46.146 spreadsheets.google.com
  32. 203.208.46.146 spreadsheets0.google.com
  33. 203.208.46.146 spreadsheets1.google.com
  34. 203.208.46.146 spreadsheets2.google.com
  35. 203.208.46.146 spreadsheets3.google.com
  36. #Gmail
  37. 203.208.46.146 mail.google.com
  38. 203.208.46.146 chatenabled.mail.google.com #Gmail中Gtalk聊天服务
  39. #Google 搜索
  40. 203.208.46.146 www.google.com
  41. #Google preview
  42. 203.208.46.146 www.googlepreview.com
  43. #Google 翻译
  44. 203.208.46.146 translate.google.com
  45. 203.208.46.146 translate.googleapis.com
  46. #Google 搜索建议(IE9)
  47. 203.208.46.146 clients5.google.com
  48. #Google Code
  49. 203.208.46.146 code.google.com
  50. #Picasa 网络相册
  51. 203.208.46.146 picasaweb.google.com
  52. 203.208.46.146 lh0.ggpht.com
  53. 203.208.46.146 lh1.ggpht.com
  54. 203.208.46.146 lh2.ggpht.com
  55. 203.208.46.146 lh3.ggpht.com
  56. 203.208.46.146 lh4.ggpht.com
  57. 203.208.46.146 lh5.ggpht.com
  58. 203.208.46.146 lh6.ggpht.com
  59. 203.208.46.146 lh7.ggpht.com
  60. 203.208.46.146 lh8.ggpht.com
  61. 203.208.46.146 lh8.ggpht.com
  62. 203.208.46.146 lh9.ggpht.com
  63. 203.208.46.146 lh6.google.com
  64. #Google 个人资料
  65. 203.208.46.146 profiles.google.com
  66. 203.208.46.146 browsersync.google.com
  67. #Google+
  68. 203.208.46.146 talkgadget.google.com #Google+中的聊天服务
  69. 203.208.46.146 ssl.gstatic.com
  70. 203.208.46.146 images-pos-opensocial.googleusercontent.com
  71. 203.208.46.146 images1-focus-opensocial.googleusercontent.com
  72. 203.208.46.146 images2-focus-opensocial.googleusercontent.com
  73. 203.208.46.146 images3-focus-opensocial.googleusercontent.com
  74. 203.208.46.146 images4-focus-opensocial.googleusercontent.com
  75. 203.208.46.146 images5-focus-opensocial.googleusercontent.com
  76. 203.208.46.146 images6-focus-opensocial.googleusercontent.com
  77. 203.208.46.146 plus.google.com
  78. #Download 下载
  79. 203.208.46.146 dl.google.com
  80. 203.208.46.146 dl-ssl.google.com
  81. #Groups
  82. 203.208.46.146 groups.google.com
  83. #Google URL Shortener
  84. 203.208.46.146 goo.gl
  85. #Google App Engine
  86. 203.208.46.146 appengine.google.com
  87. #Android Developer
  88. 74.125.113.121 developer.android.com

最后,在win7中,你修改后可能告诉你管理权限不够,没关系,将Hosts文件复制到其他地方修改,最后在覆盖它,就大功告成了

关于Android SDK无法更新的解决办法的更多相关文章

  1. Xamarin Android SDK无法更新的解决办法

    Xamarin Android SDK无法更新的解决办法   Xamarin Android SDK无法更新的解决办法,更新时候,提示警告信息:A folder failed to be moved. ...

  2. Android SDK无法更新的问题解决办法

    问题: SSL hostname in certificate didn't matchhostname in certificate didn't match: <dl-ssl.google. ...

  3. Android Studio Gradle更新的解决办法

    环境: Win7_64旗舰版.Android Studio2.1.1 问题描述: 在打开Android Studio项目的时候,会下载项目对应版本的gradle,由于是国外网站导致更新较慢,该版本是在 ...

  4. Android SDK无法更新的解决方法

    一.说明: Android 更新sdk时访问google很慢,有时连接不上,可利用国内的某些镜像网站实现Android SDK在线更新. 二.解决方法: 在SDK Manager -> tool ...

  5. Android Studio 自动更新失败解决办法

    Check Update一直提示Connection failed. Please check your network connection and try again,开始以为是由于G*W在捣乱, ...

  6. 启动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 ...

  7. Android SDK Manager更新不了的解决办法

    android SDK Manager更新不了,出现错误提示:"Failed to fetch URL..."! 可以用以下办法解决: 使用SDK Manager更新时出现问题 F ...

  8. Android SDK Manager无法更新的解决办法

    Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xmlFailed to fetch URL https://d ...

  9. 解决Android SDK Manager更新、下载速度慢

    hosts文件里面原来的内容不做修改,只是添加内容 方法/步骤 先看看如何加快更新速度,再说如何更新. 首先更新host文件,如图,打开目录 C:\Windows\System32\drivers\e ...

随机推荐

  1. 关于 Android Studio 如何连接手机调试

    第一步:设置-> 打开开发者选项,以及USB调试模式 第二步:关于手机->版本号,点击版本号会弹出提示:已经处于开发者模式,无需操作 第三步:设置->在搜索框中输入HDB,此时会弹出 ...

  2. instanceof和相关函数

    instanceof:如果左边对象是右边类型所表示类(或任意一子类)的一个实例,则返回true,否则false.判断左边真实类型是不是右边的类或它的派生类. //实例一 Object o= new L ...

  3. 如何将windows日志转成syslog格式并发到远程sysylog服务器

      安装Snare, 随便找了个版本下载下来,安装一路next,除了中间让你输入一次http的管理登录口令.   2,配置 之后打开URL:http://192.168.37.23:6161/,输入默 ...

  4. 《孵化Twitter》:Twitter创始人勾心斗角史,细节披露程度令人吃惊

    本书详细讲述twitter的发展史.感觉基本上是一部创始人从朋友变敌人,勾心斗角的历史.Twitter本身的产品发展反而相对比较简单. 书中披露了许多email.谈话.会议的细节,作者说这些是数百个小 ...

  5. java的sleep方法详解

    java的sleep方法详解: sleep并不是永久占有CPU,没有那个线程能永久占用CPU.它是指在自己时间片内睡眠,而不是急着交出CPU.yield()就是自己愿意立即交出时间片.因此一个线程sl ...

  6. IOS SQLite函数总结

    SQL语句的种类 ●  数据定义语句(DDL:Data Definition Language) ●  包括create和drop等操作 ●  在数据库中创建新表或删除表(create table或 ...

  7. des的根据key进行加密和解密方法

    DES加密: public static string DESEncode(string content, string key) { DESCryptoServiceProvider des = n ...

  8. BestCoder Round #91 1002 Lotus and Horticulture

    题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=6012 题意: 这几天Lotus对培养盆栽很感兴趣,于是她想搭建一个温室来满足她的研究欲望. Lotus ...

  9. VPS 运行 Node.js 的一些经验

    VPS 系统选择 各系统安装难易对比 Ubuntu.Debian 较为简单,CentOS 稍麻烦,32位系统比64位更节省内存 DigitalOcean 甚至推出了 Ubuntu + Node.js ...

  10. SQL Server 2008 R2 附加数据库 “尝试打开或创建物理文件 拒绝访问”的解决办法

    其实是来自一篇SQL Server 2005同样错误的帖子,不过试了在SQL Server 2008 R2下面也有效,记录一下. 解决方法: 在所有程序—Microsoft SQL Server 20 ...