windows下的android源码下载

来源:互联网 发布:穿越还珠之我是知画txt 编辑:程序博客网 时间:2024/05/21 15:43

1.工具准备

  • 下载 git(版本管理工具),地址为:http://code.google.com/p/msysgit/downloads/list
  • 下载 CreatAutoGetSh(批量文件下载脚本生成器),地址为:http://download.csdn.net/source/3535237

2.操作步骤

  • 软件安装:安装git,压缩CreatAutoGetSh
  • 批量下载脚本源文件的准备:访问android源码的网址,http://android.git.kernel.org/,COPY页面中的下载列表的内容并保存为xxx.txt的文本(保存在CreatAutoGetSh解压的目录下,即确保xxx.txt与CreatAutoGetSh.exe在同一个目录)
  • 批量下载脚本文件的生成:进入windows控件台(cmd),切换到CreatAutoGetSh.exe所处的目录,运行CreatAutoGetSh.exe xxx.txt  autogit.sh,即得到下载脚本文件,autogit.sh
  • 下载源码:新建一个用于存放源码的目录,启动git接着利用git提供的shell切换工作目录到之前新建的目录,接着运行./autogit.sh
  • 最后是耐心的等待了......

3.参考文章

        http://marico.blog.51cto.com/1929668/487196
        


原创粉丝点击