任意の初期化メッセージが表示されないが、私は、コマンドAndroidのソース:レポは、私はGoogleがソースツリーをダウンロードで提供している手順に従ってきた
$ repo init -u https://android.googlesource.com/platform/manifest -b android-2.3.7_r1
を実行した後、私は次のエラーメッセージが表示されます。
$ repo init -u https://android.googlesource.com/platform/manifest -b android-2.3.7_r1
Traceback (most recent call last):
File "/Users/roboguy12/bin/repo", line 690, in <module>
main(sys.argv[1:])
File "/Users/roboguy12/bin/repo", line 657, in main_Init(args)
File "/Users/roboguy12/bin/repo", line 189, in _Init_CheckGitVersion()
File "/Users/roboguy12/bin/repo", line 214, in _CheckGitVersion
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 595, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1106, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
どうしたのですか?それともRepoに代わってこれだけのエラーですか?
UPDATE:今、私は、Python 2.7をインストールしていることを、私はまだ、ほぼ正確に同じエラーメッセージがあります。
$ repo init -u https://android.googlesource.com/platform/manifest -b android-2.3.7_r1
Traceback (most recent call last):
File "/Users/roboguy12/bin/repo", line 690, in <module>
main(sys.argv[1:])
File "/Users/roboguy12/bin/repo", line 657, in main_Init(args)
File "/Users/roboguy12/bin/repo", line 189, in _Init_CheckGitVersion()
File "/Users/roboguy12/bin/repo", line 214, in _CheckGitVersion
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in __init__
errread, errwrite)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
を私は知りませんが、私は$ python -V
呼び出すと、それは、Python 2.7.1と言いますそうでなければ私はすることができます。
[AndroidアプリケーションのダウンロードのためのAndroidコードのダウンロード](http://stackoverflow.com/questions/3465094/download-android-code-for-contacts-application) – Mogsdad