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