android 4.1源码下载方法最新实例教程

1、安装repo ,执行命令如下:

 

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

 

2、初始化 repo ,执行命令如下:

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

3、下载源代码,命令如下:

$ repo sync
 

相关网站链接和注意事项:
git中android源代码版本介绍:

 

https://android.googlesource.com/platform/manifest

下载源代码过程以及注意事项,该过程是用于4.0的,把分支改成4.1既可下载4.1

http://source.android.com/source/downloading.html

 

posted on 2012-07-16 12:01  vus520  阅读(4447)  评论(0编辑  收藏  举报

导航