`
yl.fighter
  • 浏览: 253161 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

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

阅读更多
出现的问题:
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.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics