Install Google’s Android Eclipse plugin
来源:互联网 发布:股票付费软件 编辑:程序博客网 时间:2024/04/30 01:31
How-To: Install Google’s Android Eclipse plugin (and/or adb) on 64-bit Debian/Ubuntu
How-To: Install Google’s Android Eclipse plugin (and/or adb) on 64-bit Debian/Ubuntu
Today I had to reinstall the Android plugin on my system and I recently upgraded to a 64-bit development VM. To my surprise the installation didn’t go smoothly at all. After restarting Eclipse twice I was constantly presented with two error messages “Failed to parse the output of ‘adb version’” and “adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory”. Your system may also present another error message that reads “adb: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory”.
I could see that it was looking for libncurses.so.5 however I know that ncurses is already installed on my machine in /lib as /lib/libncurses.so.5. So where exactly was Eclipse/adb looking for it? It turns out that it wants to find its libraries in the /lib32 directory but you can’t just symlink it or you’ll get an error that reads “wrong ELF class: ELFCLASS64″. adb needs to have the 32-bit versions installed or it won’t function at all.
So to get up and running just run the following command to fix the issue:
sudo apt-get install lib32ncurses5 lib32stdc++6
After that just restart Eclipse and the issue should be fully put to bed. Let me know how it works out for you or if you run into trouble.
If you still run into trouble like an error message that reads “aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory” you need to install the ia32-libs like this:
sudo apt-get install ia32-libs
Then rebuild your project and the errors should be gone.
UPDATE 2012-02-14: Rortian reports that the following command words on Fedora 16:
yum install ncurses-libs.i686 libstdc++.i686 libgcc.i686
原文地址:http://blog.timmattison.com/archives/2011/11/02/how-to-install-googles-android-eclipse-plugin-and-or-adb-on-64-bit-debian-ubuntu/
The following packages have unmet dependencies:
ia32-libs-multiarch:i386 : Depends: libglapi-mesa:i386
Depends: libglu1-mesa:i386 but it is not going to be installed
Depends: libqt4-opengl:i386 but it is not going to be installed
Recommends: libgl1-mesa-glx:i386
Recommends: libgl1-mesa-dri:i386
- Install Google’s Android Eclipse plugin
- How-To: Install Google’s Android Eclipse plugin (and/or adb) on 64-bit Debian/Ubuntu
- Eclipse Plugin Install
- Install FreeMarker Eclipse plugin
- Google Android IDE-eclipse plugin 预览
- Google Android IDE-eclipse plugin 预览
- install palm plugin on eclipse
- Hadoop2.7.1 eclipse plugin Install
- Eclipse install svn plugin(link)
- Eclipse Neon Install Groovy Plugin
- Use link file to install eclipse plugin
- install hadoop dev plugin in eclipse
- Ubuntu配置Java+Eclipse+Google Plugin环境
- How to install Android plugin into NetBeans
- Android Studio for Mac Install PlantUML plugin
- GWT开发 - Eclipse, Google Plugin and Google Web Toolkit SDK
- eclipse install plugin Error Error retrieving "feature.xml"
- How To Install Eclipse SVN And Trac Plugin
- python 利用 xlwt 生成excle
- PS制作万圣节南瓜
- TabActivity标签界面的实现
- 在两台linux服务器间传递文件
- 笔记3
- Install Google’s Android Eclipse plugin
- 如何在tomcat部署应用
- J2EE轻量级架构与企业级应用开发
- 无线网络受限时 ipconfig /release ipconfig /renew
- oracle 存储过程 编译、删除时无响应
- 开源库的选择和驾驭
- HDU 2544 最短路
- 批量更改文件编码
- WINCE下datagrid 列宽及列格式化设置