Step 1. 编辑 /home/username/bin/repo文件
- REPO_URL='git://android.git.kernel.org/tools/repo.git'
+ REPO_URL='http://android.git.kernel.org/tools/repo.git'
Step 2. 运行新的命令
$ repo init -u http://android.git.kernel.org/platform/manifest.git -b gingerbread
Step 3. 修改文件.repo/manifests/default.xml
将 fetch="git://android.git.kernel.org/"
改成fetch="http://android.git.kernel.org/"
Step 4. 运行命令
repo sync