android 4.0(ICS)源码下载方法
本方法是基于ubuntu 10.04从android官网下载ICE源码,确保电脑可以正常连接网络,通过apt-get install curl git-core工具,在普通用户权限下,执行以下的命令可以下载到需要的android源码:
$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir WORKING_DIRECTORY
$ cd WORKING_DIRECTORY
$ repo init -u https://android.googlesource.com/platform/manifest
$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.3_r1
$ repo syn