2011-12-09 20 views
1

私はAndroidのソースコードをダウンロードする方法に従いました。souce-codeをダウンロードしようとしたときにAndroidのrepo initが失敗しました

http://omappedia.org/wiki/Android_Getting_Started#Accessing_Source_Codehttp://source.android.com/source/downloading.html

私はレポをダウンロードし、それを実行可能にすることができますよ。その後、私は、このコマンドを使用します。しかし:

repo init -u https://android.googlesource.com/platform/manifest

または

repo init -u git://git.omapzoom.org/platform/omapmanifest.git -b froyo

しかし、両方のコマンドは次のエラーを与える:

Fatal: branch 'stable' has not been signed

誰もがそう、この問題を解決する方法を知っています私はソースコードをダウンロードできますか?

私は既にrepoを再インストールしようとしました。このリンクに提案されていますAndroid Repo init failed

私はプロキシの背後にありますが、プロキシを動作させるコマンドを使用しました。

答えて

1

リポジトリのREPO_URL定義を編集し、httpsをhttpに変更しました。

1

repoファイルのREPO_URL定義をhttpsからhttpに変更するだけでなく、コマンドを変更する必要があります。例:あなたはまだエラーが発生する場合

repo init -u http://android.googlesource.com/platform/manifest 

は、使用して

repo init -u http://android.googlesource.com/platform/manifest --repo-url=https://android.googlesource.com/tools/repo 

または

repo init -u http://android.googlesource.com/platform/manifest --repo-url=http://android.googlesource.com/tools/repo 
怒鳴るコマンドを最新のレポツールを試してみてください
関連する問題