Ubuntu 11.10 X64 Android环境搭建时遇到的问题总结

本文详细介绍了在Ubuntu 11.10环境下解决Eclipse无法安装Android SDK及ADT插件的问题。通过安装ia32-libs,更新Eclipse插件至对应版本,以及添加特定更新站点来解决此问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

环境: Ubuntu 11.10 x64: 
1. 安装 
/opt/eclipse/android-sdk-linux/platform-tools/adb: error while loading shared libraries:libncurses.so.5: wrong ELF class: ELFCLASS64 
解决方案: apt-get install ia32-libs 
2. Eclipse不能安装adt插件 
打开eclipse: 
windows->preferences->Install/Update->Avai... 
选中或添加以下两个网址, 
         GEF Update Site :  http://download.eclipse.org/tools/gef/updates/releases/ 
         galileo  :  http://download.eclipse.org/releases/galileo 
进入help->Install new software,先选择GEF进行升级,(应该只升级对应版本即可,不过我把所有的都选了) 
                                                         再升级WST,这个在galileo的最后面,耐心找一下吧,而且galileo加载也会很慢,稍等即可。 

期间按照提示,选择重启或OK,应该会很顺利地。 
如果GEF update Site打不开,直接去 http://www.eclipse.org/galileo/projects.php 查找对应的网址 
Eclipse的版本是3.5.2,配置Android的开发环境时遇到问题…… 
按照Android官方文档一步步安装,到了安装Eclipse的ADT插件时,提示“requires 'org.eclipse.gef 0.0.0' but it could not be found”,找了很久终于解决问题: 
缺少GEF,Eclipse's Graphic Editing Framework,下面是这个插件的地址: 
http://download.eclipse.org/tools/gef/updates/releases/ 
在Eclipse的菜单栏Help->Install New Software中添加这一项,然后选择对应Eclipse版本的选项安装好即可。 
原文地址在此(感谢这位哥们儿,贡献一个链接) 
http://tewson.com/content/orgeclipsegef-000-required-installing-android-development-tools-eclipse-351 
另外在安装ADT时还需要添加以下站点以便自动安装依赖的组件: 
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 
3. Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder. 
解决方案: If you look in the "Android SDK Manager" in the "Android 4.0 (API 14)" section you'll see a few packages. 
One of these is named "ARM EABI v7a System Image" 
This is what you need to download in order to create an android 4.0 virtual device. 


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值