我在 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 并杀死它。