android5.0 AOSP compilation record (not completed)

Source: Internet
Author: User

The compilation environment must be a 64-bit system Ah, the duly installed 64-bit Ubuntu, virtual machine recommended server version, without the performance of the X province ...

Then to install OpenJDK 1.7, remember to update the source of the system, the following is a good

1Deb http://mirrors.163.com/ubuntu/trusty main restricted universe multiverse2Deb http://mirrors.163.com/ubuntu/trusty-security main restricted universe multiverse3Deb http://mirrors.163.com/ubuntu/trusty-updates main restricted universe multiverse4Deb http://mirrors.163.com/ubuntu/trusty-proposed main restricted universe multiverse5Deb http://mirrors.163.com/ubuntu/trusty-backports main restricted universe multiverse6DEB-SRC http://mirrors.163.com/ubuntu/trusty main restricted universe multiverse7DEB-SRC http://mirrors.163.com/ubuntu/trusty-security main restricted universe multiverse8DEB-SRC http://mirrors.163.com/ubuntu/trusty-updates main restricted universe multiverse9DEB-SRC http://mirrors.163.com/ubuntu/trusty-proposed main restricted universe multiverseTenDEB-SRC http://mirrors.163.com/ubuntu/trusty-backports main restricted universe multiverse

Then the sudo apt-get install OPENJDK-7-JDK dependent package will be downloaded and installed, and then java-version and duly completed.

  

Compile the dependent libraries you need to load:

sudo apt-get install Bison libc6-dev-amd64 Zlib1g-dev Lib64z1-dev Flex Libncurses5-dev Libx11-dev Gperf

Or it's going to go wrong halfway.

Well, it's still compiling, just wait for it.

  

Error, hint missing unzip, put on ...

Go on......

  

android5.0 AOSP compilation record (not completed)

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.