Eclipse的Andr​​oid插件 - libncurses.so.5插件、Andr、Eclipse、oid

2023-09-13 02:27:59 作者:扶摇直上

我对Eclipse在Fedora的安装ADT(Android开发工具)苦苦挣扎的境地16操作系统,64位。

I am struggling mightily with installing ADT (Android Dev Tools) on Eclipse in Fedora 16 OS, 64-bit.

Eclipse本身运行正常。

Eclipse itself is running fine.

按照指示,我第一次安装常规的Andr​​oid SDK,操作系统级别的工具包。这非常顺利,我能够在工具目录中使用的Andr​​oid应用程序。

As instructed, I first installed the regular Android SDK, the OS-level toolkit. That went smoothly and I was able to use the Android app within the tools dir.

在Eclipse中,这是一个有点困难,因为我首先要安装GWT和谷歌相关的工具,这需要WST的核心Eclipse靛蓝更新。最后,ADT安装成功报道。

In Eclipse, it was a little more difficult because I first had to install GWT or google-related tools, which required a core Eclipse Indigo update of WST. Finally, the ADT install reported success.

不过,每次打开Eclipse的时候的时候,它给了我许多关于libncurses.so.5弹出窗口和以下日志:

However, every time when opening Eclipse, it gives me a multitude of popups regarding libncurses.so.5 and the following log:

[2012-04-04 02:06:35 - adb] /opt/android-sdk-linux/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[2012-04-04 02:06:35 - adb] 'adb version' failed!
/opt/android-sdk-linux/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[2012-04-04 02:06:35 - adb] Failed to parse the output of 'adb version':
Standard Output was:

Error Output was:
/opt/android-sdk-linux/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

[2012-04-04 02:06:35 - adb] /opt/android-sdk-linux/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[2012-04-04 02:06:35 - adb] 'adb version' failed!
/opt/android-sdk-linux/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
[2012-04-04 02:06:35 - adb] Failed to parse the output of 'adb version':
Standard Output was:

Error Output was:
/opt/android-sdk-linux/platform-tools/adb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

当我尝试打开的Andr​​oid SDK管理器(Window下),该插件不开放,但窗口中任意位置没有关闭按钮(不像同一个在操作系统级别,这看起来也一样),所以唯一的办法摆脱它找到Eclipse的PID和杀死它。

When I do try to open Android SDK Manager (under Window), the plugin does open but the window has no close button anywhere (unlike the same one at the OS-level, which also looks the same) so the only way to get out of it is to find the Eclipse PID and kill it.

推荐答案

这解决了这个问题完全是:

This solved the problem entirely:

yum install ncurses-libs.i686 libstdc++.i686 libgcc.i686