This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
products:sbc:edge2:development:android:download-android-source-code [2022/07/15 23:37] 127.0.0.1 external edit |
products:sbc:edge2:development:android:download-android-source-code [2023/12/26 21:50] (current) goenjoy |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | {{indexmenu_n> |
+ | |||
+ | |||
+ | ====== | ||
===== Introduction ===== | ===== Introduction ===== | ||
- | This document mainly introduces how to download the Android source code of Edge1. | + | This document mainly introduces how to download the Android source code of Edge2. |
===== Get Source Code ===== | ===== Get Source Code ===== | ||
- | 1. Create an empty directory to hold your working files: | + | Install git-lfs tool to download Android 12.0 SDK |
+ | |||
+ | ```shell | ||
+ | $ sudo apt install git-lfs | ||
+ | ``` | ||
+ | |||
+ | 1. Create an empty directory to hold your working files. | ||
```shell | ```shell | ||
Line 14: | Line 23: | ||
``` | ``` | ||
- | 2. Run '' | + | 2. Run '' |
- | * Android | + | < |
- | $ repo init -u https:// | + | ```shell |
+ | $ repo init -u https:// | ||
``` | ``` | ||
- | * Android | + | |
- | $ repo init -u https:// | + | < |
- | ``` | + | ```shell |
- | * Android 7.1: ```shell | + | $ repo init -u https:// |
- | $ repo init -u https:// | + | |
``` | ``` | ||
+ | </ | ||
- | 3. Run '' | + | 3. Run '' |
```shell | ```shell | ||
Line 49: | Line 59: | ||
</ | </ | ||
- | 4. Begin a new branch for development: | + | 4. Go to the following directory and execute the '' |
+ | |||
+ | <tabbox Android 13> | ||
+ | |||
+ | ```shell | ||
+ | external/ | ||
+ | device/ | ||
+ | ``` | ||
+ | ```shell | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | Git LFS: (4 of 4 files) 208.97 MB / 208.97 MB | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | Git LFS: (1 of 1 files) 211.07 MB / 211.07 MB | ||
+ | ``` | ||
+ | |||
+ | <tabbox Android 12> | ||
+ | |||
+ | ```shell | ||
+ | external/ | ||
+ | prebuilts/ | ||
+ | device/ | ||
+ | ``` | ||
+ | ```shell | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | Git LFS: (4 of 4 files) 208.97 MB / 208.97 MB | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | Git LFS: (3 of 3 files) 936.69 MB / 936.69 MB | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | Git LFS: (1 of 1 files) 211.07 MB / 211.07 MB | ||
+ | ``` | ||
+ | </ | ||
+ | |||
+ | 5. Begin a new branch for development. | ||
```shell | ```shell | ||
Line 58: | Line 113: | ||
* [[https:// | * [[https:// | ||
- | * [[/ | + | * [[/ |