我正在尝试下载http://source.android.com/source/downloading.html。根据终端中的指令编写此命令:
repo init -u https://android.googlesource.com/platform/manifest
我收到下一个错误:
comrade@ubuntu:~/WORKING_DIRECTORY$ repo init -u https://android.googlesource.com/platform/manifest
Traceback (most recent call last):
File "/home/comrade/bin/repo", line 700, in <module>
main(sys.argv[1:])
File "/home/comrade/bin/repo", line 667, in main
_Init(args)
File "/home/comrade/bin/repo", line 198, in _Init
_CheckGitVersion()
File "/home/comrade/bin/repo", line 223, in _CheckGitVersion
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
我是 Ubuntu 的新手,所以如果问题很无聊,我很抱歉。