fedora17上编译Android4.2

1、下载代码

repo init -u https://android.googlesource.com/a/platform/manifest

repo sync

2、准备编译工具

sudo yum install gcc gcc-c++ gperf flex bison glibc-devel zlib-devel ncurses-deve libsx-devel readline-devel perl-Switch

还是有编译工具未安装的,可以试试下面命令, 如果还不行,需要根据报错安装缺少的软件:

#sudo yum install git gnupg valgrind flex bison gperf zip curl ncurses-devel readline-devel zlib-devel libX11-devel xorg-x11-proto-devel libuuid-devel uuid uuid-devel libsx-devel

3、配置环境

source build/envsetup.sh

lunch full-eng

4、编译

make -j4

你可能感兴趣的:(fedora17上编译Android4.2)