Android 4.0.1_r1源代码发布,更新获取方法
http://source.android.com/source/downloading.html
1.home目录下创建bin文件夹
$ mkdir ~/bin $ PATH=~/bin:$PATH
2. repo工具配置
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo $ chmod a+x ~/bin/repo
3.新建项目文件夹
$ mkdir WORKING_DIRECTORY $ cd WORKING_DIRECTORY
4. 创建仓库
$ repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
5.同步代码
$ repo sync
forlong401的专栏
补充:移动开发 , Android ,