Discover android project source code download zip, include the articles, news, trends, analysis and practical advice about android project source code download zip on alibabacloud.com
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..
This project is a novice to write the micro-Android mobile end, which is used in a very basic knowledge. The code quality is general, the service side is with the peanut shell to build, now has hung off, therefore can only borrow the client source code. In order to be able t
During the download of Android4.0.1 source code in Ubuntu 13.04, I initially referred
Download and install the SDK, but you will find that the SDK is not too busy. The detailed process is recorded here:
1. on the premise that the Android development environment has been set
Question: A person cannot fall in two traps.
In February last April, I had a task that asked me to write a method for downloading and saving the file. If the file name exists, add "-1". If it still exists, add 1 to the number after-, for example: File Name: keep_on_it.mp3. the first download is keep_on_it.mp3, the second download name is saved as: Keep_On_It-1.mp3, the third
]:~/android$ export path= $PATH: ~/working_directory/out/host/linux-x86/bin[Email protected]:~/android$ export android_product_out=~/working_directory/out/target/product/genericPs:Working_directory is my source code save folder, its full path is:/home/android/working_directo
protocols, including FTP, ftps, HTTP, https, and Telent, we need to install it to obtain the repo script file from the network.
2. Create a bin folder in the home directory and add it to path.
$ Mkdir ~ /Bin $ Path = ~ /Bin: $ path
3. InstallRepo
DownloadRepoScriptHomeOfBinFolder
$ Curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo> ~ /Bin/Repo
ModifyRepoSo that it can be executed
$ Chmod A + x ~ /Bin/Repo
RepoIsGitVersion library management tool, which can be s
Android system source code download and compile1 First of all your jdk and GIt is already installed successfully. (Baidu ) 2 If you are using a Ubuntu64 system, you need to install the package:(Other ubuntu systems have different downloads, see the official website document https://source.android.com/
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
(such as the development of the app want to follow the SDK some of the source code can download Platform_frameworks_base project).
How to download the code for a project.
It's been a long time since the source code, really slow ha. I really hope that a company in the country can open the mirror.Not much to say, the first is the system environment, my system is Ubuntu 64-bit system (14.04), version should be nothing.Required librariesGit: Nothing to say, sudo apt-get install Git-core GnuPGJDK: This is also necessary, need 1.6 version, Java after Oracle
(Google http://source.android.com/source)
Build a compilation environment
1. Initial language compilation environment
The source code size is about 6 GB. It takes about 25 GB to complete a compilation, and my hard drive is 50 GB.
2. Create a Linux Image
Google Doc (http://source.android.com/source/) recommends Ubuntu 1
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
the remote end, and so on...
Or you may want to download it again if you are not finished at the company ,...
When you need to re-start the download, note that you need to re-run the repo init-u... command
Then run the repo sync command.
Because the steps in manifest. Git can contain all the projects under/platform, you need to modify the file manifest. xml under. Repo (Hidden directory ).
Reference:
Csdn posts
1. The source code of android can be downloaded synchronously. How can I obtain the source code of Android Linux? Linux website? What version should I get?
Http://topic.csdn.net/u/20110328/16/ab03326f-9309-428e-b52c-0c
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.