Android5.0.1 source code compilation, android5.0.1 source code

Source: Internet
Author: User

Android5.0.1 source code compilation, android5.0.1 source code

On Ubuntu14.04

5.0.1 requires OpenJDK on linux
Refer to build/core/main. mk, line 177

Configure:
$ Source build/envsetup. sh
$ Lunch

Error:
Make: *** [out/host/linux-x86/bin/validatekeymaps] Error 127
$ Sudo apt-get install g ++-multilib
Make: *** [out/host/linux-x86/obj32/EXECUTABLES/aidl_intermediates/aidl_language_y.cpp] Error 1
$ Sudo apt-get install bison
Out/host/linux-x86/bin/aapt: error while loading shared libraries: libz. so.1: cannot open shared object file: No such file or directory
$ Sudo apt-get install lib32z1
Make: *** [out/target/product/generic/obj/GYP/shared_intermediates/blink/platform/ColorData. cpp] Error 127
$ Sudo apt-get install libswitch-perl
$ Sudo apt-get install gperf
/Bin/bash: xmllint: command not found
$ Sudo apt-get install libxml2-utils

Run:
$ Emulator

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.