Alibabacloud.com offers a wide variety of articles about android source code download zip, easily find your android source code download zip information here online.
http://source.android.com Step 1. Configure the Android build environment according to Http://source.android.com/source/initializing.htmlhttp://source.android.com/source/downloading.html configuration good repo, approximate steps are as follows$ mkdir ~/bin$ Path=~/bin: $PATH$ curl Https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo$ chmod a+x ~/
First, let's take a look at what repo is. We know the code of the android open-source project and use a repo tool to effectively manage hundreds of git projects under android. In fact, repo is not a program, but a script project... and git is the real version management tool. To put it bluntly, repo is a bunch of batch
1. On a Linux terminal, run the following command to create an android directory under the user directory and enter the directory:Flat view printing? 1 mkdir android2 cd android2. Create the bin directory in android to execute the command:Flat view printing? 1 mkdir bin3. Add it to the environment variable PATH (this step can be skipped and will be described in step 1 ):Flat view printing? 1 PATH = ~ /
I. Install the VMWARE+UBUNTU environment, you can choose a new version as far as possible.Two. Source code downloadIn the case of a wall now, it is almost impossible to use git to download Android source code directly from Google.
Download msysgit and install
Download: http://code.google.com/p/msysgit/downloads/list,
Open git bash and execute the command
cd D:git clone https://android.googlesource.com/platform/manifest.git
Enter the command to switch to the manifest directory.
cd manifest
Git tag lists the branches of Android
git tag
Download
1. Prepare the environment.
1. Install the GIT tool. AndroidSource codeGit is used for management. Compared with SVN, this is a Distributed Source.CodeSVN is a centralized source code management tool. To install the GIT tool, run the following command on Ubuntu:
User-name @ machine-Name :~ $ Sudo apt-Get install Git-core GnuPG
2. Other dependent packages. Run the following command on Ubuntu:
User-na
Android is a development source code platform, which means that every one of us can download, modify, and create our own Android platform. We can even help Android community to improve and improve.CodeOf course, these are still a
/local/arm-2008q3/bin to $ path
/Usr/local/is the root directory of the unzipped arm-tools-chain.
3. Download the android Linux Kernel
Remember that it is the android Linux kernel (GIT clone git: // android.git.kernel.org/kernel/common.git), rather than the general linuxe kernel source
In order to develop android applications, it is too troublesome to find the sdk has no source code during development. The following describes how to download the source code and configure it.
Git is required to
Experience Android Wear reason: Android Wear code has been released for a long time, has not tried, here is a compilation process and steps, if you want to try, this article assumes that the reader has been downloaded to compile Android experience, if not, please Google related articles install the appropriate environm
Experience Android Wear reason: Android Wear code has been published for quite a long time. Has not been tried, here is a compilation process and steps, assuming to try. This article assumes that the reader already has the experience of downloading and compiling Android, assuming no, please install the appropriate envi
Reprinted from doyee and finally edited doyee
To develop Android applications, the SDK does notSource codeIn this way, it is too troublesome during development. The following describes how to download the sourceCodeAnd how to configure. Git is required to download the source
To a certain extent, android must read more code and think more. Android source code is a very good learning material. The content of this article is very simple, that is, download the android
Download Android code in Ubuntu
1. Install Git and Repo
First, make sure to create a/bin directory under the current user's home directory (if not), and then put it (~ /Bin) to the path environment variable.
Www.bkjia.com @ ubuntu :~ $ Vim. bashrc Add:
Export PATH = $ PATH :~ /Bin
Www.bkjia.com @ ubuntu :~ $ Source. ba
In Windows, Android downloaded through SDK manager.exe is updated without the source code, which is not very convenient for development;
In fact, AndroidSource codeYes, it can be downloaded, its sourceCodeGo to http://android.git.kernel.org/, download the installation package, and
[Update] http://source.android.com/source/downloading.html
The address of the new version has been modified:$ repo init -u https://android.googlesource.com/platform/manifest.git
Download and configure git and repo according to official documents,
$ Repoinit -u git://android.git.kernel.org/platform/manifest.git
After seeing init finished, run the following command. Otherwise, run the command again until the
I downloaded the android source code in ubuntu for several months on and off. I hope you will not learn from me! One-time processing!
Here are some suggestions for you. If you are reading a book, the date of reading the book is basically invalid for more than one year. The online version is also unavailable, especially in China.Step 1:
Change hosts
This step may
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.