使用GIT工具下载安卓程序的源代码,以下是简单的介绍:
GIT工具下载地址: http://code.google.com/p/msysgit/
如下图:

获取源代码步骤:
1.在上述网站进行GIT工具的下载 2. 登录源代码网站
https://github.com/android 查找需要下载的程序源代码:search-->输入程序关键词-->显示出该程序的链接-->点击-->获得该程序源代码的下载URL


3.使用GIT工具:点击克隆已有版本库: SourceLocation:填入从源码网站获取的URL TargetDirectory:存储路径:需要新建 eg: 
注意事项: GIT1.7.7安装后不能卸载,可以用其他版本覆盖后再卸载。 使用GIT时不要使用中文目录,否则GIT GUI会报错无法启动。删除C盘中.gitconfig文件可以解决。
|