按照我的文章:http://blog.csdn.NET/zangcf/article/details/23566999在ubuntu 14.04上搭建Android编译环境,编译过程会出以下两个错误:
1,Can't locateSwitch.pm in @INC (you may 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.
2, Copy xml: out/target/product/project/system/etc/epo_conf.xml
需要补充安装两个东西: sudo apt-getinstall libswitch-perl sudo apt-get install libxml2-utils
之后,就可以正常编译android系统了。 (责任编辑:IT) |