我在费多拉16操作系统64位的Eclipse上安装ADT(Android开发工具)时遇到了很大困难.
Eclipse本身运行良好.
按照指示,我首先安装了常规的Android SDK,即操作系统级工具包.这一切进展顺利,我能够在tools dir中使用Android应用程序.
在Eclipse中,这有点困难,因为我首先必须安装GWT或与google相关的工具,这需要对WST进行核心的Eclipse Indigo更新.最后,ADT安装报告成功.
然而,每次打开Eclipse时,我都会看到大量关于libncurses的弹出窗口.所以5和以下日志(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
当我try 打开Android SDK管理器(在窗口下)时,插件确实会打开,但窗口的任何地方都没有关闭按钮(不同于操作系统级别的同一个按钮,它看起来也一样),所以唯一的方法就是找到Eclipse PID并将其杀死.