Android make sdk失败,错误无法找到-lz

时间:2012-02-29 17:33:26

标签: android android-sdk-2.3

当我尝试在下面构建sdk日志时出现错误:

: out/target/product/generic/system/lib/valgrind/tsan-arm-linux
: out/target/product/generic/system/lib/valgrind/vgpreload_core-arm-linux.so
: out/target/product/generic/system/lib/valgrind/vgpreload_drd-arm-linux.so
: out/target/product/generic/system/lib/valgrind/vgpreload_helgrind-arm-linux.so
: out/target/product/generic/system/lib/valgrind/vgpreload_massif-arm-linux.so
: out/target/product/generic/system/lib/valgrind/vgpreload_memcheck-arm-linux.so
: out/target/product/generic/system/lib/valgrind/vgpreload_tsan-arm-linux.so
: out/target/product/generic/system/xbin/dbus-monitor
: out/target/product/generic/system/xbin/dbus-send
: out/target/product/generic/system/xbin/opcontrol
: out/target/product/generic/system/xbin/oprofiled
host Executable: aapt (out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt)
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status

make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt] Error 1

1 个答案:

答案 0 :(得分:0)

似乎你没有安装所有必要的工具来构建sdk。查看此webpage