【发布时间】:2011-08-14 12:56:47
【问题描述】:
我是一名 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
那个 ELF 类错误让我觉得我安装了错误的软件版本,但我不记得被要求在 x86 和 x86-64 之间进行选择。
jason@ubuntu:~/usr/android-sdk-linux_x86$ echo $MACHTYPE
x86_64-pc-linux-gnu
【问题讨论】:
标签: android linux eclipse ubuntu