相关疑难解决方法(0)

在Ubuntu 11.04上安装Android/Eclipse - aapt和adb无法正常工作

我是一个Linux n00b,试图在Eclipse中设置我的开发环境.我安装了Eclipse和Android SDK,但是当我启动Eclipse或尝试运行./aapt或./adb时,我遇到了一些错误.

jason@ubuntu:~/usr/android-sdk-linux_x86/platform-tools$ ./aapt
./aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

jason@ubuntu:~/usr/android-sdk-linux_x86/platform-tools$ ./adb
./adb: error while loading shared libraries: libncurses.so.5: wrong ELF class: ELFCLASS64
Run Code Online (Sandbox Code Playgroud)

那个ELF类错误让我觉得我安装了错误版本的软件,但我不记得被要求在x86和x86-64之间做出选择.

jason@ubuntu:~/usr/android-sdk-linux_x86$ echo $MACHTYPE
x86_64-pc-linux-gnu
Run Code Online (Sandbox Code Playgroud)

eclipse linux ubuntu android

36
推荐指数
3
解决办法
3万
查看次数

标签 统计

android ×1

eclipse ×1

linux ×1

ubuntu ×1