- 安装Cygwin的过程中可以选择要安装的包,以下是我们要安装的包:
1、Net -> curl; 2、Devel -> git* (git, git-completion, git-gui, gitk); 3、Libs -> libreadline6, libiconv2; 4、Editors -> vim 5、Python -> python。 $ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
4$ mkdir WORKING_DIRECTORY
$ cd WORKING_DIRECTORY
$ repo init -u https://android./platform/manifest
To check out a branch other than "master", specify it with -b: $ repo init -u https://android./platform/manifest -b android-4.0.1_r1
Getting the filesTo pull down files to your working directory from the repositories as specified in the default manifest, run $ repo sync
|