Download Android 2.2 (froyo) source code

Source: Internet
Author: User
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/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.