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

 

相关文章:

  • 2021-07-26
  • 2021-09-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
  • 2022-12-23
猜你喜欢
  • 2022-01-19
  • 2021-11-28
  • 2021-05-22
  • 2021-05-24
  • 2021-07-13
  • 2021-10-27
  • 2022-12-23
相关资源
相似解决方案