一尘不染

Eclipse Android插件— libncurses.so.5

linux

我正在努力在Fedora 16 OS(64位)上的Eclipse上安装ADT(Android开发工具)。

Eclipse本身运行良好。

按照指示,我首先安装了常规的Android SDK,即OS级工具包。一切顺利,我能够在工具目录中使用Android应用程序。

在Eclipse中,这有点困难,因为我首先必须安装GWT或与Google相关的工具,这需要WST的Eclipse
Indigo核心更新。最后,ADT安装报告成功。

但是,每次打开Eclipse时,它都会给我关于libncurses.so.5和以下日志的许多弹出窗口:

[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

当我确实尝试打开Android SDK
Manager(在Window下)时,该插件确实打开了,但是该窗口在任何地方都没有关闭按钮(不同于OS级别的同一个按钮,它看起来也相同),因此这是退出的唯一方法这是找到Eclipse
PID并杀死它。


阅读 302

收藏
2020-06-03

共1个答案

一尘不染

这完全解决了问题:

yum install ncurses-libs.i686 libstdc++.i686 libgcc.i686
2020-06-03