Ubuntu 14.04 builds Android build environment

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.