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