According to my article: http://blog.csdn.net/zangcf/article/details/23566999 build an Android build environment on Ubuntu 14.04, the compilation process will have the following two errors:
1,can ' t locateswitch.pm in @INC (if you are need to install the Switch module) (@INC CONTAINS:/ETC/PERL/USR/LOCAL/LIB/PERL/5 .18.2/usr/local/share/perl/5.18.2/usr/lib/perl5/usr/share/perl5/usr/lib/perl/5.18/usr/share/perl/5.18/usr/ Local/lib/site_perl.) At External/webkit/source/webcore/make-hash-tools.plline 23.
Beginfailed--compilation aborted atexternal/webkit/source/webcore/make-hash-tools.pl line 23.
MAKE[3]: ***[out/target/product/project/obj/static_libraries/libwebcore_intermediates/source/webcore/html/ Doctypestrings.cpp]error 2
2, Copy Xml:out/target/product/project/system/etc/epo_conf.xml
/bin/bash:xmllint:command not found
MAKE[3]: * * * [Out/target/product/project/system/etc/epo_conf.xml] Error 127
Need to add two things to install:
sudo apt-getinstall Libswitch-perl
sudo apt-get install libxml2-utils
After that, you can compile the Android system normally.
Ubuntu 14.04 builds Android build environment