There are many ways to obtain source code on the Internet. Here is just one of my operations. After the previous http://android.git.kernel.org/logs are unavailable, Google will be in the navigation bar.
The source code download function is re-activated on the site. Record a simple process for query
1. Install cygwin (windows, if not needed) http://cygwin.org/select two options including shell and dev during installation (if ndk development requires both)
2. Install repo (repo is actually a combination of git commands called internally) https://dl-ssl.google.com/dl/googlesource/git-repo/repo
Download the package and put it in the user directory of cygwin home.
3. Modify the downloaded repo file and change the REPO_URL = 'https: // code.google.com/p/git-repo/' to http.
The following steps in the remaining reference http://source.android.com/source/downloading.html
$ Mkdir ~ /Bin $ PATH = ~ /Bin: $ PATH $ chmod a + x ~ /Bin/repo $ mkdir WORKING_DIRECTORY $ cd WORKING_DIRECTORY
$ Repo init-u https://android.googlesource.com/platform/manifest
Complete Production
4. disable ssl Authentication
Common Errors in China
Error: 14090086: SSL routines: SSL3_GET_SERVER_CERTIFICATE: certificate verify faile d while accessing into config -- global http. sslVerify false again repo init-u https://android.googlesource.com/platform/manifest
You can also obtain the specific version code-B android2.3.1 _ r1.
5. Get code repo sync synchronously presented Engineering Code
I have executed this command several times and remember that the project will fail to be downloaded. I directly obtain each project separately.
Refer to the steps for obtaining the attachment separately and paste the cygwin command line in step net.
You can also obtain a single code as needed, which will be very small.
Http://files.cnblogs.com/feiyunfei/androidsourceproject.rar