After going through all these steps to check the source code of Android (the gingerbread branch), only to go to the compilation error, I decided to try to get the source code from another source.
Here are the steps I took to verify the source code from the GitHub.com repository.
I checked the repo tool from the GitHub.com repository
git clone git:
In the downloaded repo script file, I changed the location of the repo tool as follows:
#
After that, I created a repository for the source code using the repo script 'git shell.
repo init -u git://github.com/android/platform_manifest.git -b gingerbread
It gave me successful results; "repo initialized in / home / my / directory"
However, when I try repo sync
, I get the following error message:
$ repo sync Initializing project platform/bionic ... android.git.kernel.org[0: 149.20.4.77]: errno=Connection timed out fatal: unable to connect a socket (Connection timed out) error: Cannot fetch platform/bionic
Where are the links to now-offline android.git.kernel.org? cat repo|grep kernel.org
gives nothing.
source share