Android源代码编译问题记录

1、make: *** [out/host/linux-x86/bin/validatekeymaps] Error 127
$ sudo apt-get install g++-multilib

2、out/host/linux-x86/bin/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
$ sudo apt-get install lib32z1

3、/bin/bash: xmllint: 未找到命令
build/core/Makefile:34: recipe for target 'out/target/product/generic/system/etc/apns-conf.xml' failed
make: *** [out/target/product/generic/system/etc/apns-conf.xml] Error 127
$sudo apt-get install? libxml2-utils

原文地址:https://www.cnblogs.com/sagerking/p/11579694.html