Four. Android Source download
4.1 Installing Repo
4.2 Initializing Repo
4.3 Download Android Source Tree
- After the initialization is complete, download the source code, execute:
Sync
Repo Sync supports the continuation of the breakpoint. If there is an error during the download, the network cannot connect, etc., after processing the exception, perform repo sync again
You can also perform automatic download batch processing, automatically repo sync after download exception
1 #!/bin/sh2sync3while 0 ]4 Do 5 Sync 6 Done
Android Download source is painful, connect to the server to download code is often abnormal, even fq, download speed is very slow. Downloading the source code usually takes 3 days to weeks, or even 1 months to complete the download.
Now there are a lot of good people abroad, download the source and compressed and put it on the Internet for sharing, we can choose to search these later share, to save time.
Introduced below: "Android Introduction and source code compilation---compiled Android source code"
Android Introduction and source code compilation---android source code download