[Android] After being hack from kernel.org, Google changed the android source code server to android.googlesource.com.

Source: Internet
Author: User

After android.git.kernel.org is hack, you cannot use repo to synchronously update the download source code.

 

After the release of Android 4.0, I went to http://source.android.com/source/downloading.htmlto check whether googlehas changed.Source codeDownload location.

 

If no repo exists, you can obtain the repo as follows:

 
$ Mkdir ~ /Bin $ Path = ~ /Bin: $ path
$ Curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo> ~ /Bin/repo $ chmod A + x ~ /Bin/Repo

The key is to select a directory.

 
$ Mkdir working_directory $ CD working_directory

Then start repo initialization and SynchronizationCode

 
$ Repo init-u https://android.googlesource.com/platform/manifest
 
$ Repo sync

 

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.