This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:edge1:development:android:download-android-source-code [2022/07/12 00:35] hyphop |
products:sbc:edge1:development:android:download-android-source-code [2024/07/05 06:32] (current) william |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Download Android Source Code ====== | + | {{indexmenu_n> |
| + | |||
| + | |||
| + | ====== | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| Line 29: | Line 32: | ||
| ```shell | ```shell | ||
| - | $ repo sync -j4 | + | $ repo sync -c -j4 |
| ``` | ``` | ||
| Line 36: | Line 39: | ||
| <WRAP info > | <WRAP info > | ||
| You might need to run above command repeatly if it fails halfway. Or you can try with this script instead: | You might need to run above command repeatly if it fails halfway. Or you can try with this script instead: | ||
| - | ```shell | + | ```bash sync_helper.sh |
| - | ## | + | # |
| - | repo sync -j4 | + | repo sync -c -j4 |
| while [ $? = 1 ]; do | while [ $? = 1 ]; do | ||
| echo "Sync failed, repeat again:" | echo "Sync failed, repeat again:" | ||
| - | repo sync -j4 | + | repo sync -c -j4 |
| done | done | ||
| ``` | ``` | ||
| - | If needed, press '' | + | If needed, press '' |
| </ | </ | ||