我是一个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)