2011-11-18 7 views
-3

Android가 생소합니다. Andriod 소스를 살펴보고 다운로드 프로세스를 시작했습니다. Repo 초기화에 문제가 있습니다. 아래 오류가 나타납니다 :Android 소스 코드 다운로드

$ repo init -u https://android.googlesource.com/platform/manifest 
Traceback (most recent call last): 
    File "/bin/repo", line 685, in <module> 
    main(sys.argv[1:]) 
    File "/bin/repo", line 652, in main 
    _Init(args) 
    File "/bin/repo", line 184, in _Init 
    _CheckGitVersion() 
    File "/bin/repo", line 209, 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 

답변

0

git을 설치해야합니다. 일반적인 명령은 다음과 같습니다 : $ sudo apt-get install git-core

관련 문제