Windows 下获取 Android 系统源码
接手 android 也有一年的时间了,由于刚开始学习时资料比较少,又大多都是断章取义的,
所以对于 android 我一直处于似懂非懂的状态下。今天终于感觉到该留点学习的经验吧,那
就从这篇开始我的 android 系列文章了。
Android 使用 Git 管理源代码的,在 Linux 下我们可以使用 ubuntu 来获取系统源码,下面我
就逐步介绍在 Windows 些如何获取 Android 系统源码了。
一。安装 msysGit
在 google 的 http://code.google.com/p/msysgit/ 中这样介绍到:
If you just want to use Git to do your version control in Windows, you will need to download Git
for Windows , run the installer, and you are ready to start. Note: Git for Windows is a project run by
volunteers, so if you want it to improve, volunteer!
…
If you want to download and install the complete source code of Git for Windows (including C
compiler) to start hacking, you will need to install the full development system which is called
msysGit.
注释:如果你需要使用 Git 工具在 Windows 下进行版本控制,你可以使用基于 Windows 的
Git ,这里提供了 msysGit 的安装下载。
我们选择 full 安装版本,
http://code.google.com/p/msysgit/downloads/detail?name=msysGit-fullinstall-1.7.3.1-preview201
01002.exe。
下载 msysGit 安装包后安装, 在安装过程中 msysGit 会自动的安装或编译基于 Windows 环境
的 Git。编译 Git 需要点时间,安装完后截图如下: