Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim1:development:android:download-android-source-code

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:vim1:development:android:download-android-source-code [2022/07/15 02:48]
frank
products:sbc:vim1:development:android:download-android-source-code [2024/07/05 06:33] (current)
william
Line 1: Line 1:
 +{{indexmenu_n>10}}
 +
 +
 ====== VIM1 Download The Android Source Code ====== ====== VIM1 Download The Android Source Code ======
  
-The Android Source Tree of our Khadas VIMs are hosted on [[https://www.github.com/khadas|Github]]. There are many different repositories.Walk through the steps below to download the Source Code.+The Android Source Tree of our Khadas VIMs are hosted on [[https://www.github.com/khadas|Github]]. There are many different repositories.Walk through the steps below to download the source code.
  
 ===== Steps ===== ===== Steps =====
Line 45: Line 48:
 </tabbox> </tabbox>
  
-Run ''repo sync'' to pull down the Android Source Tree:+Run ''repo sync'' to pull down the Android source tree:
  
 ```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 57: Line 60:
 ```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 76: Line 79:
  
   * [[https://source.android.com/source/downloading.html|Android Official Documents]]   * [[https://source.android.com/source/downloading.html|Android Official Documents]]
-  * [[/products/sbc/vim2/development/android/build-android|Build Android]]+  * [[/products/sbc/vim1/development/android/build-android|Build Android]]
Last modified: 2022/07/15 02:48 by frank