This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
products:sbc:vim2:development:android:download-android-source-code [2022/07/15 01:59] frank created |
products:sbc:vim2:development:android:download-android-source-code [2024/07/05 06:36] (current) william |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Download The Android Source Code ====== | + | {{indexmenu_n> |
| + | |||
| + | |||
| + | ====== | ||
| The Android Source Tree of our Khadas VIMs are hosted on [[https:// | The Android Source Tree of our Khadas VIMs are hosted on [[https:// | ||
| Line 42: | Line 45: | ||
| ```shell | ```shell | ||
| - | $ repo sync -j4 | + | $ repo sync -c -j4 |
| ``` | ``` | ||
| The initial sync operation may take an hour or more to complete. | The initial sync operation may take an hour or more to complete. | ||
| Line 51: | Line 54: | ||
| ```shell | ```shell | ||
| #!/bin/bash | #!/bin/bash | ||
| - | 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 | ||
| ``` | ``` | ||
| Line 70: | Line 73: | ||
| * [[https:// | * [[https:// | ||
| - | * [[https://docs.khadas.com/android/vim1/BuildAndroid.html|Build Android | + | * [[/products/sbc/vim2/development/android/ |