Android L download and androidl download
Android L has finally come out, so we can download it for a while, so how can we get the latest L branch?
Summary by following the dummies steps (Linux Ubuntu)
1. Get the repo File
(1) curl https://storage.googleapis.com/git-repo-downloads/repo> ~ /Bin/repo
(2). chmod a + x ~ /Bin/repo
(3). export PATH = ~ /Bin: $ PATH
Curl is a tool that uses commands in linux to initiate network requests. After finding the repo file, add it directly to the system PATH.
2. Use repo to obtain the source code
(1). mkdir src & cd src
(2). repo init-u https://android.googlesource.com/platform/manifest
(3). repo sync
The above code obtains the master code.
If you want to obtain the code of a branch separately
(1). mkdir src & cd src
(2). repo init-u https://android.googlesource.com/platform/manifest-B android-5.0.0_r2
(3). repo sync
If you already have an android repository but it is not the latest, switch to the AndroidL Branch
(1). cd. repo/manfiests & git branch-a | cut-d/-f 3
Android-4.4.4_r2.0.1
Android-4.4_r1
Android-4.4_r1.0.1
Android-4.4_r1.1
Android-4.4_r1.1.0.1
Android-4.4_r1.2
Android-4.4_r1.2.0.1
Android-4.4w_r1
Android-5.0.0_r1
Android-5.0.0_r2
(2). Select android-5.0.0_r2 based on the list above
Repo init-B android-5.0.0_r2
(3). repo sync
(4) Switch all to the android-5.0.0_r2 Branch
Repostart android-5.0.0_r2 -- all
(5). repo branches
* Android-5.0.0_r2 | in all projects
(6). cd external/jsmn & git branch
* Android-5.0.0_r2
3. How to build a local warehouse for convenient use by people around you
Obtain Code from the server to create a local repository
(1). mkdir-p ~ /Aosp/mirror
(2). cd ~ /Aosp/mirror
(3). repo init-u https://android.googlesource.com/mirror/manifest -- mirror
(4). repo sync
Get code from local mirror
(1). mkdir-p ~ /Aosp/master
(2). cd ~ /Aosp/master
(3). repo init-u/home/username/aosp/mirror/platform/manifest. git
(4). repo sync
Synchronize local mirror and local code repository
(1). cd ~ /Aosp/mirror
(2). repo sync
(3). cd ~ /Aosp/master
(4). repo sync
Contact info:
Lihui40319@sina.com
QQ: 390012381
Reprinted please indicate the source: http://blog.csdn.net/lihui130135
How to download android L Software
Android L is still being tested on a large scale. Only two nexus devices can be used for trial, and lz is preferred.
How to download android L Software
Android L is still being tested on a large scale. Only two nexus devices can be used for trial, and lz is preferred.