码迷,mamicode.com
首页 > 移动开发 > 详细

Android5.0.1源码编译

时间:2015-04-15 08:24:40      阅读:205      评论:0      收藏:0      [点我收藏+]

标签:

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

Android5.0.1源码编译

标签:

原文地址:http://www.cnblogs.com/chinshing/p/4427508.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!