关于Eclipse搭建android开发平台问题

时间:2014-11-08 15:03:28   收藏:0   阅读:308

============问题描述============


启动Eclipse提示sdk platform is missing……
启动 sdk manager 提示
Fetching http://dl-ssl.google.com/android/repository/addons_list-1.xml
Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to http://proxy.lzu.edu.cn:8080 refused
Fetched Add-ons List successfully
Fetching URL: http://dl-ssl.google.com/android/repository/repository-6.xml
Failed to fetch URL http://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to http://proxy.lzu.edu.cn:8080 refused
Fetching URL: http://dl-ssl.google.com/android/repository/repository-5.xml
Failed to fetch URL http://dl-ssl.google.com/android/repository/repository-5.xml/addon.xml, reason: Connection to http://proxy.lzu.edu.cn:8080 refused
Done loading packages.
搜了网上的解决方案,都是同样的结果。
ADT安装的是官方最新的。
总之sdk manageer 不能在线更新。sdk目录下的platform文件夹为空.
希望大大们,给个好的解决方案。
如果能发个可以用的sdk或者集成android开发的Eclipse更好!!!
邮箱:ysjshengjie@qq.com
十分感谢

============解决方案1============


我也是啊~纠结了很久,都不知道,之前是怎么下载~刚获得的办法~来分享一下~

在SDK Manager下Tools->Options打开了SDK Manager的Settings,选中“Force https://… sources to be fetched using http://…”,强制使用http协议。
Windows在C:\WINDOWS\system32\drivers\etc打开/etc/hosts文件,添加
#google_android更新
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com

原文:http://www.cnblogs.com/lengyanyue39/p/4083201.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!