############################################# #But still get errors ############################################# build/core/main.mk:180: implicitly installing apns-conf_sdk.xml build/core/copy_headers.mk:15: 警告:覆盖关于目标“out/target/product/generic/obj/include/libpv/getactualaacconfig.h”的命令 build/core/copy_headers.mk:15: 警告:忽略关于目标“out/target/product/generic/obj/include/libpv/getactualaacconfig.h”的旧命令 host Executable: aapt (out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt) /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libz.so when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libz.a when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz /usr/bin/ld: cannot find -lz
############################## #google some solutions, but not works :( ############################## sudo apt-get install libc6-dev-i38 #MAT:this not works :( sudo apt-get install g++-multilib g++-4.2-multilib #MAT:this not works :( sudo apt-get install libzip-dev #MAT:this not works :(
########################### #OK, let's try getlibs: # #getlibs: Automatically solves dependencies for 32-bit programs on 64-bit x86 64-bit Users. #download: #install: sudo dpkg -i --force-all .deb # #For how to install and how use #see: # ###########################
getlibs -l libz.so
################################ # OK, it works ########################