Alibabacloud.com offers a wide variety of articles about cannot download email attachments on android, easily find your cannot download email attachments on android information here online.
This article is mainly taken from: http://source.android.com/source/downloading.html, and added AnnotationInstalling Repo
Repo is a tool that makes it easier to work with Git in the context of Android. For more information about Repo, seeVersion Control.
To install, initialize, and configure Repo, follow these steps:
Make sure you have a bin/directory in your home directory, and that it is stored in your path:$ mkdir ~/bin$ PATH=~/bin:$PATH
code, change it to the maximum permission, and enter the Directory
$ Mkdir/opt/android4.2
$ Sudo chmod-r 777/opt/android4.2
$ CD/opt/android4.2
2Initialize the repo and select the branch (version) to be downloaded)
$ Repo init-u https://android.googlesource.com/platform/manifest
$ Repo init-u https://android.googlesource.com/platform/manifest-B android-4.2_r1
Note 1: In this process, enter your name,
PrerequisitesAssuming that we already downloaded the android-ndk-r12b and SDK.
[email protected]: ~/utils$ lsandroid-ndk-r12b Android-sdk-linux bin Goldfish nexus7
And then we need to set the environment.Or You can download the VM has been set up directly. [1]1. Edit ~/.BASHRC# Add
: http://source.android.com/source/version-control.html5. Prepare to download the android source code.
Cd ~ /Works/android_dev
./Bin/repo init-u git: // android.git.kernel.org/platform/manifest.git
The latest version (2.3) is downloaded by default. To download other versions, use a command similar to the following command (hereinafter referred to as "version ):
R
/
C) modify the repo file and REPO_URL)
Sudo gedit ~ /Bin/repo
Modify the URL in this file (this is from Tsinghua University)
REPO_URL = 'git: // aosp.tuna.tsinghua.edu.cn/android/git-repo'
Step 3: Initialize repo and start downloading
Mkdir anroid
Cd android
Git config-global user. email "youremail@jileniao.net"
Git config -- global user. name "Your Name"
Repo i
Android Simulator Source DownloadThe download of the source code of Android Simulator is similar to the download process of Android AOSP Source Library, you can refer to Google's official Android Source
already registered as an apple developer, you will have to create an Apple id in order to download.2. Install macports from http://www.macports.org /.3. Make sure that/opt/local/bin appears in your path before/usr/bin. If not, addExport Path =/opt/local/bin: $ pathTo your ~ /. Bash_profile.4. Get make, git, and GPG packages from Port:$ Posixly_correct = 1 sudo port install gmake libsdl Git-core GnuPGIf using Mac OS 10.4, also install bison:$ Posixly_
friends who wish to transplant the kernel:(After reading the Benno porting process, I feel that even if you can compile the kernel opened by Google, it is not very significant, because this kernel includes many things to support qemu, the Code seems to be meaningless to friends who want to transplant to a real machine, but rather a hindrance ).
1) load the tool chain used for cross-compilation from codesourcery:Http://www.codesourcery.com/gnu_toolchains/arm/download.htmlHere I choose-> arm GNU/
WORKING_DIRECTORY
3. initialize the source code Repo if the latest code is downloaded, then: repo init-u https://android.googlesource.com/platform/manifest
If you download the code of a specific Android mature version branch, add the-B parameter, for example, the latest android 4.4 branch code:
Repo init-u https://android.googlesource.com/platform/manifest-B
Android source codecombined with the contents of the book and blog http://www.cnblogs.com/bluestorm/p/4419135.html can be successfully downloaded1. Download Repo1) Create repo directorymkdir ~/binPath=~/bin: $PATH2) Download repo (official repo can not download, the other repo mostly older, this time relatively new)gi
-i386Ii. Download the Android source code3. Create a working directoryGo to the working directory (such as works) and create the bin directory:Mkdir ~ /WorksMkdir ~ /Works/android_devCd ~ /Works/android_devMkdir bin4. Install the repo version management tool (based on git-based development to facilitate git Resource Management)Curl http://android.git.kernel.org/repo> ~ /Works/android_dev/bin/repoCd binChmod
Android Simulator Source DownloadThe download of the source code of Android Simulator is similar to the download process of Android AOSP Source Library, you can refer to Google's official Android Source
. The pro-test is available.two. Download Android source codecombined with the contents of the book and blog http://www.cnblogs.com/bluestorm/p/4419135.html can be successfully downloaded1. Download Repo1) Create Repo foldermkdir ~/binPath=~/bin: $PATH2) Download repo (the official repo can not
https://android.googlesource.com/platform/manifestIf you download the code of a specific Android mature version branch, add the-B parameter, for example, the latest android 4.4 branch code:Repo init-u https://android.googlesource.com/platform/manifest-B android-4.4.1_r1If the command is successfully executed, you must
Article Reference Source: http://source.android.com/source/downloading.htmlFirst, window platform on the window platform to download Android source code, the Internet is generally used directly with git to download. For example: http://wenku.baidu.com/view/a4f5f922482fb4daa58d4bb5.htmlhttp://hendyyou.iteye.com/blog/1147738 The most serious problem in this way is
://android.googlesource.com/platform/manifestIf you download the code of a specific Android mature version branch, add the-B parameter, for example, the latest android 4.4 branch code:Repo init-u https://android.googlesource.com/platform/manifest-B android-4.4.1_r1If the command is successfully executed, you must enter
is a brief description of the steps to download and how to resolve the problem.1, installation RepoA) Set up Repo installation folder, configure environment variables$ mkdir ~/bin$ PATH=~/bin:$PATHb) Get Repo tool$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo 问题:上面是Google制定的repo获取地址,但获取可能失败。 解决的方法:网上有网友给出了替代的获取地址,如遇报错可用以下的地址替代: curl "http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo" > ~/bin/repo2、建立并进入源代码下载文件夹
/recovery_patch_intermediates/RECOVERY_FROM_BOOT.P Chunk0: type0Start0Len7274506Chunk1: type2Start7274506Len1480704Chunk2: type0Start8142159Len49112Construct Patches for 3chunks ... patch0 is 205Bytes (OF7274506) Patch1 is 435259Bytes (OF867653) Patch2 is 594Bytes (OF49112) Chunk0: Normal (0,7274506)205Chunk1: Deflate (7274506,1476108)435259(NULL) Chunk2: Normal (8750614,48918)594Install System FS Image: out/target/product/sabresd_6dq/system.img out/target/product/sabresd_6dq/system.img+ out/
]:~/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_directory, Perhaps everyone's path is different from
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.