最新摆弄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文件复制到其他地方修改,最后在覆盖它,就大功告成了

最新文章

  1. hadoop2.0初识1.2
  2. .Net中的Debug模式和Release模式
  3. python学习笔记(Tkinter编程利用Treeview实现表格自动更新)
  4. py2.7+pyqt4开发端口检测工具
  5. CodeIgniter 3之Session类库(3)(转)
  6. asp gridview批量删除和全选
  7. 【最大点独立集】【poj1419】【Graph Coloring】
  8. 【转】mysql-5..6.23-win64.zip安装及配置
  9. Android注解方式实现表单校验
  10. 类Object
  11. 01_新建WebApi后端服务项目
  12. volatile适用场景之二
  13. Springmvc <mvc:cros>和<mvc:intercepters>同时使用时,跨域被拦截了
  14. PCA算法学习(Matlab实现)
  15. PostgreSQL安装入门教程
  16. neo4j 常用命令查询,以及更新 节点 的 label 名 和 property 名
  17. Ubuntu 安装 Elasticsearch
  18. 使用exe4j将java项目打成exe执行程序
  19. 【FinacialKnowledge】财务报表及名词解释
  20. 比较page、request、session、application的使用范围(转自用)

热门文章

  1. 【起航计划 023】2015 起航计划 Android APIDemo的魔鬼步伐 22 App->Menu->Inflate from XML 使用xml资源展示菜单
  2. JQuery中Checkbox选择
  3. Active Sync与IIS7 Classic&Integrated模式,Exchange 2007&2010的关系
  4. arm寄存器解析
  5. 页面dom事件防止失效的一种写法
  6. Spring boot 自动配置自定义配置文件
  7. 第49章 在SRAM中调试代码—零死角玩转STM32-F429系列
  8. angularJS 提示
  9. C# CheckBoxList 实现全选/反选功能怎么写?
  10. java基础1.5版后新特性 自动装箱拆箱 Date SimpleDateFormat Calendar.getInstance()获得一个日历对象 抽象不要生成对象 get set add System.arrayCopy()用于集合等的扩容