我正在努力在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并杀死它。
apt-get install lib32ncurses5 lib32stdc++6
lib32gcc1作为依赖项拉入)