1
votes

I followed some guide how to download the source code of Android.

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

I'm able to download repo and make it executable. But after that I use this command:

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

or

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

But both commands give the following error:

Fatal: branch 'stable' has not been signed

Anyone knows how to fix this, so I can download the source code?

I already tried to re-install repo. Suggested on this link Android Repo init failed

I'm behind a proxy, but I used commands to let the proxy work.

2

2 Answers

1
votes

Solved editing REPO_URL definition in repo file, changing https to http.

1
votes

Not only change REPO_URL definition in repo file from https to http, you also need to change in your command. Example:

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

If you still get error, try latest repo tool by use the command bellow

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

or

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