Under Ubuntu system, download Android source code

Source: Internet
Author: User

Bo main computer Windows is the use of the VMware installed Ubuntu Kylin,vmware can find as much as possible to install the latest version, and Unbuntu on the official website download on the line, the installation of VMware recommended to close the security class software, may be installed when related to some of the system's directory, security software may be limited, in the Bo master computer installed on the half-fixed, and then install the other software is also installed to half the time, Bo master view of the system files, only to find out.

As for installing wmware and then configuring Ubuntu to install itself Baidu


Go to Ubuntu Open command line, 1, install git first

sudo apt-get install Git-core GnuPG


and then return.


2, installation Repo
wget Https://dl-ssl.google.com/dl/googlesource/git-repo/repo
chmod 777 Repo
CP repo/bin/

3. Create catalog Download
mkdir Android
CD Android

Repo Init-u Https://dl-ssl.google.com/dl/googlesource/git-repo/repo

Repo Sync

And then it's a long wait. Support Breakpoint Continuation

When you see syncing work tree:100%, doing is generally downloaded.

4, the download process encountered problems

3rd step need to access Google services can choose to flip the wall, Bo is a free kuai500, use can also http://www.kuai500.com

You will also encounter DownloadError:android.googlesource.com during the download: <urlopen error [Errno] Connection timed out>

This is Google in order to avoid the source server is illegal attack, Google by default to the anonymous user download the download quota limit, when you download a few minutes after the speed of the situation may be rejected by Google, you can have two options, reconnect the network automatically to a IP, Or for authentication users to download;

In the source site http://source.android.com/source/downloading.html can learn information:

Login Https://android.googlesource.com/new-password Login with your registered email

Then follow the page prompts to configure, the blogger is to copy the above several lines of command.

Under Ubuntu system, download Android source code

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.