Android5.0.1源码编译_移动开发_编程开发_程序员俱乐部

中国优秀的程序员网站程序员频道CXYCLUB技术地图
热搜:
更多>>
 
您所在的位置: 程序员俱乐部 > 编程开发 > 移动开发 > Android5.0.1源码编译

Android5.0.1源码编译

 2015/4/15 10:23:23  勤省  程序员俱乐部  我要评论(0)
  • 摘要:OnUbuntu14.045.0.1requiresOpenJDKonlinuxrefertobuild/core/main.mk,line177Configure:$sourcebuild/envsetup.sh$lunchError:make:***[out/host/linux-x86/bin/validatekeymaps]Error127$sudoapt-getinstallg++-multilibmake:***[out/host/linux
  • 标签:android 源码 编译

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

发表评论
用户名: 匿名