在 Eclipse 上安装64位的 ADT (Android 开发工具)让我非常纠结。
Eclipse 本身运行良好。
按照指示,我首先安装了常规的 Android SDK,即操作系统级别的工具包。这个过程很顺利,我可以在工具目录中使用 Android 应用程序。
在 Eclipse 中,这有一点困难,因为我首先必须安装 GWT 或与 google 相关的工具,这需要对 WST 进行核心的 Eclipse 靛蓝更新。最后,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 (在窗口下)时,插件确实打开了,但窗口没有任何关闭按钮(不像操作系统级别的同一个按钮,它看起来也是一样的) ,所以唯一的方法是找到 Eclipse PID 并杀死它。