Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:edge1: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:edge1:development:android:download-android-source-code [2022/07/11 03:12]
frank ↷ Page moved from products:sbc:common:download-android-source-code to products:sbc:edge1:development:android:download-android-source-code
products:sbc:edge1:development:android:download-android-source-code [2024/07/05 06:32] (current)
william
Line 1: Line 1:
-====== Download The Android Source Code ======+{{indexmenu_n>10}} 
 + 
 + 
 +====== Edge1 Download Android Source Code ======
  
 ===== Introduction ===== ===== Introduction =====
Line 17: Line 20:
  
   * Android 10.0: ```shell   * Android 10.0: ```shell
-$repo init -u https://github.com/khadas/android_manifest.git -b khadas-edge-Qt+$ repo init -u https://github.com/khadas/android_manifest.git -b khadas-edge-Qt
 ``` ```
   * Android 9.0: ```shell   * Android 9.0: ```shell
-$repo init -u https://github.com/khadas/android_manifest.git -b khadas-edge-pie+$ repo init -u https://github.com/khadas/android_manifest.git -b khadas-edge-pie
 ``` ```
   * Android 7.1: ```shell   * Android 7.1: ```shell
-$repo init -u https://github.com/khadas/android_manifest.git -b khadas-edge-nougat+$ repo init -u https://github.com/khadas/android_manifest.git -b khadas-edge-nougat
 ``` ```
  
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 
-##!/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
 ``` ```
  
-If needed, press ''Ctrl''+''\'' to quit.+If needed, press ''Ctrl''+''C'' to quit.
  
 </WRAP> </WRAP>
Last modified: 2022/07/11 03:12 by frank