搭建android开发环境安装ADT时出现requires ‘org.eclipse.gef 0.0.0’ but it could not be found

环境:linux RHEL6.0_x86_64     Eclipse3.5.2  JDK1.6

 

安装ADT的时候,提示“Cannot complete the install because one or more required items could not be found.Software being installed: Android Development Tools 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846)Missing requirement: Android Development Tools 0.9.6.v201002051504-24846(com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846) requires ‘org.eclipse.gef 0.0.0’ but it could not be found”,解决方法如下:

1.启动eclipse,点击window——>preferences——>install/update——>available software sites,点击Add,把如下几个网址添加过去

Eclipse GEF     http://download.eclipse.org/tools/gef/updates/releases/
Eclipse EMF      http://download.eclipse.org/modeling/emf/updates/releases/
Eclipse GMF      http://download.eclipse.org/modeling/gmf/updates/releases
Eclipse Webtools  http://download.eclipse.org/webtools/updates/
Google eclipse Plugin  http://dl.google.com/eclipse/plugin/3.5

2.重新安装ADT插件,更新网址:https://dl-ssl.google.com/android/eclipse/(如果遇到问题可以把https改为http)

总结:添加这几个网址的作用就是在安装ADT插件时,要eclipse自己寻找所需要的插件,并不需要网上说的那样,把GEF的整个插件下下来,当然,安装整个GEF也是可以的。

PS: Android SDK download 推荐网站: www.android123.com

或 http://dl.google.com/android/android-sdk_r08-linux_86.tgz(直接用下载工具)

http://blog.sina.com.cn/s/blog_4d83777b0100pgfa.html

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注