出错步骤:
命令 ~/bin/repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
出错内容:
warning: gpg (GnuPG) is not available.
warning: Installing it is strongly encouraged.
·
·
·
·
$ ~/bin/repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
1 [main] python 5536 child_info_fork::abort: unable to remap select.dll to same address as parent (00C70000) - try running rebaseall
Traceback (most recent call last):
File "/cygdrive/f/android/source/.repo/repo/main.py", line 385, in <module>
_Main(sys.argv[1:])
File "/cygdrive/f/android/source/.repo/repo/main.py", line 365, in _Main
result = repo._Run(argv) or 0
File "/cygdrive/f/android/source/.repo/repo/main.py", line 137, in _Run
result = cmd.Execute(copts, cargs)
File "/cygdrive/f/android/source/.repo/repo/subcmds/init.py", line 283, in Execute
git_require(MIN_GIT_VERSION, fail=True)
File "/cygdrive/f/android/source/.repo/repo/git_command.py", line 109, in git_require
git_version = git.version_tuple()
File "/cygdrive/f/android/source/.repo/repo/git_command.py", line 88, in version_tuple
ver_str = git.version()
File "/cygdrive/f/android/source/.repo/repo/git_command.py", line 79, in version
p = GitCommand(None, ['--version'], capture_stdout=True)
File "/cygdrive/f/android/source/.repo/repo/git_command.py", line 215, in __init__
raise GitError('%s: %s' % (command[1], e))
error.GitError: --version: [Errno 11] Resource temporarily unavailable
------解决方案--------------------
没有python吧
------解决方案--------------------
cygwin下也可以下载源码?涨见识了