android - Eclipse Android 插件 -- libncurses.so.5

我在 Fedora 16 OS,64 位的 Eclipse 上安装 ADT(Android 开发工具)非常困难。

Eclipse 本身运行良好。

按照指示,我首先安装了常规的 Android SDK,即操作系统级别的工具包。一切顺利,我能够在工具目录中使用 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 管理器(在窗口下)时,插件确实打开了,但窗口在任何地方都没有关闭按钮(不像操作系统级别的同一个按钮,看起来也一样)所以唯一的方法要摆脱它,就是找到 Eclipse PID 并杀死它。

最佳答案

这完全解决了问题:

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

https://stackoverflow.com/questions/10005907/

相关文章:

python - 如何检查变量是否为具有 python 2 和 3 兼容性的字符串

c - [ N ... M ] 在 C 聚合初始值设定项中是什么意思?

linux - Java 进程列表

linux - 如何在不打开 Linux 的情况下找到所有串行设备(ttyS、ttyUSB、..)?

linux - 符号链接(symbolic link) : find all files that

python - 检查一个单词是否在 Python 中的字符串中

linux - 如何在 shell 变量中获取网页的内容?

python - 如何检查浮点值是否为整数

python - 如何在 Django 中过滤 DateTimeField 的日期?

python - 在文件之间使用全局变量?