1
我曾經在窗口的cygwin下載Android資源作爲; HTTP://source.android.com/source/downloading.html但是當我運行repo init -u https://android.googlesource.com/platform/manifest -b android-4.0.1_r1
它給我:的cygwin +窗口下載Android資源
File "/opt/android/bin/repo", line 595, in
main(sys.argv[1:])
File "/opt/android/bin/repo", line 562, in main
_Init(args)
File "/opt/android/bin/repo", line 181, in _Init
_CheckGitVersion()
File "/opt/android/bin/repo", line 210, in _CheckGitVersion
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/usr/lib/python2.6/subprocess.py", line 633, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
編輯:原來的提問左下面作爲一個答案:
我解決了這個問題:我的cygwin沒有下載git的,所以我在Cygwin的下載git的,一切正常