xmllint: command not found

在编译android source code是时候,出现如下错误:
Copy xml: out/target/product/generic/system/etc/apns-conf.xml
/bin/bash: xmllint: command not found
make: *** [out/target/product/generic/system/etc/apns-conf.xml] Error 127

解决方法:

安装xmllint : sudo apt-get install  libxml2-utils

原文地址:https://www.cnblogs.com/java20130722/p/3207281.html