This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:edge2:development:android:download-android-source-code [2022/09/23 21:23] frank |
products:sbc:edge2:development:android:download-android-source-code [2023/12/26 21:50] (current) goenjoy |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{indexmenu_n> | ||
+ | |||
+ | |||
====== Edge2 Download Android Source Code ====== | ====== Edge2 Download Android Source Code ====== | ||
Line 6: | Line 9: | ||
===== Get Source Code ===== | ===== Get Source Code ===== | ||
+ | |||
+ | 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. | 1. Create an empty directory to hold your working files. | ||
Line 16: | Line 25: | ||
2. Run '' | 2. Run '' | ||
+ | <tabbox Android 13> | ||
+ | ```shell | ||
+ | $ repo init -u https:// | ||
+ | ``` | ||
+ | |||
+ | <tabbox Android 12> | ||
```shell | ```shell | ||
$ repo init -u https:// | $ repo init -u https:// | ||
``` | ``` | ||
+ | </ | ||
3. Run '' | 3. Run '' | ||
Line 43: | Line 59: | ||
</ | </ | ||
- | 4. Execute | + | 4. Go to the following |
+ | |||
+ | <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 | ```shell | ||
external/ | external/ | ||
Line 50: | Line 87: | ||
``` | ``` | ||
```shell | ```shell | ||
- | xxx@server: | + | /users/Edge2$ cd external/ |
- | xxx@server: | + | /users/ |
- | xxx@server: | + | /users/ |
- | xxx@server: | + | |
- | xxx@server: | + | |
Git LFS: (4 of 4 files) 208.97 MB / 208.97 MB | Git LFS: (4 of 4 files) 208.97 MB / 208.97 MB | ||
- | xxx@server: | + | /users/ |
/ | / | ||
- | xxx@server: | + | /users/Edge2$ cd prebuilts/ |
- | xxx@server: | + | /users/ |
Git LFS: (3 of 3 files) 936.69 MB / 936.69 MB | Git LFS: (3 of 3 files) 936.69 MB / 936.69 MB | ||
- | xxx@server: | + | /users/ |
/ | / | ||
- | xxx@server: | + | /users/Edge2$ cd device/ |
- | xxx@server: | + | /users/ |
- | Git LFS: (1 of 1 files) 211.07 MB / 211.07 MB | + | Git LFS: (1 of 1 files) 211.07 MB / 211.07 MB |
- | xxx@server: | + | |
``` | ``` | ||
+ | </ | ||
5. Begin a new branch for development. | 5. Begin a new branch for development. |