| This post was last edited by kallawa
Source codeHome page: http ://Android. Git.Kernel. Org/
NormalDownloadSteps:
$ Mkdir mydroid-Froyo
$ CD mydroid-Froyo
$ Repo init-u git: // android.git.kernel.org/platform/manifest.git
$ Repo sync
I tried it several times and never downloaded it... (Dormitories/companies are all made by China Netcom... Disgusting ...)
If you can browse the home page of the android source code through a browser, but you cannot download the source code when running repo init or repo sync, as shown in the following figure:
You only need to change the address starting with git to http:
[1]
Repo init-uHttp ://Android.git.kernel.org/platform/manifest.git-B froyo
[2] modifying the address in manifest. Git also changes git: // to http :// Vim. Repo/manifest. Git
For example:
1 <? XML version = "1.0" encoding = "UTF-8"?>
2 <manifest>
3 <remote name = "Korg"
4 fetch ="Http ://Android.git.kernel.org /"
5 Review = "review.source.android.com"/>
6 <default revision = "Froyo"
7 remote = "Korg"/>
8
//////////////////////////////////////// ///////////////////////
// 2010.12.01 added
//
// You can directly download the packaged source code (1.5/16./2.0/2.1/2.2)
Address:Http://rgruet.free.fr/public/
|