ubuntu14.04 TLS x64 compiled android4.4.4 R1

Source: Internet
Author: User

VMware after 3 days of compilation finally compiled Android 4.4 source code, the whole process is not smooth, so record the compilation process.

Build Environment:

VMware 10.01

One, Ubuntu 14.04 TLS 64-bit

Hard disk:80g      If you experience insufficient hard disk space during compilation, you can perform the following steps:     1, $ vmware installation directory/ vmware-vdiskmanager -x 80gb  "D:\VMWARE\WINXP\MYUBUNTU.VMDK"     2, VMware boot Gparted-live-0.22.0-2-i586.iso for partition expansion, please Baidu Memory: 8G Dependent Library:     1, add ia32 dependent library           $ sudo apt-get update         $ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0  LIB32STDC++6    2, add Google recommended dependency package         $  apt-get install bison g++-multilib git gperf libxml2-utils make  Python-networkx zlib1g-d            ev:i386  zip installation of JDK, official recommendation Openjdk7 but compile-time prompt error later uninstall Oracle jdk6python recommendations 2.3-2.7, view version          $ python -versioN Add Ubuntu Swap area, otherwise it will fail to compile libwebviewchrominum.so         $ mkdir  /swap        $ cd /swap         $ dd if=/dev/zero of=swapfile bs=1024 count=1029000         $ mkswap swapfile        $  swapon swapfile        $ swapoff swapfile         $ free -m

2. Compiling Android

In the Android source code root directory input make can be compiled, the rest is a long wait ....

3, simulator operation

$./usr/local/android/android-4.4.4_r1/out/host/linux-x86/bin/emulator-kernel/usr/local/android/android-4.4.4_ R1/prebuilts/qemu-kernel/arm/kernel-qemu-sysdir/usr/local/android/android-4.4.4_r1/out/target/product/generic- System System.img-data Userdata.img-ramdisk ramdisk.img

If the quote qemu:could not load initrd ' ramdisk.img ' is a permission issue, CD to Out/target/product/generic directory, execute

$ chmod-r 777 *

No problem, you see the familiar picture, Gaga ...

ubuntu14.04 TLS x64 compiled android4.4.4 R1

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.