Android 4.0源码下载

阅读更多

1.安装工具

 

apt-get install git-core curl

2.创建目录

 

mkdir -p /develop/download-froyo
cd /develop/download-froyo

 

3.下载源码

 

curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo

repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1

repo sync

 4.编译

 

source build/envsetup.sh
lunch full-eng
make  -j4

你可能感兴趣的:(Android 4.0源码下载)