This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
products:sbc:edge2:development:android:download-android-source-code [2022/09/07 09:04] goenjoy |
products:sbc:edge2:development:android:download-android-source-code [2022/09/20 02:57] goenjoy |
||
---|---|---|---|
Line 7: | Line 7: | ||
===== Get Source Code ===== | ===== Get Source Code ===== | ||
- | 1. Create an empty directory to hold your working files: | + | 1. Create an empty directory to hold your working files |
```shell | ```shell | ||
Line 14: | Line 14: | ||
``` | ``` | ||
- | 2. Run '' | + | 2. Run '' |
- | * Android 12.0: ```shell | + | ```shell |
$ repo init -u https:// | $ repo init -u https:// | ||
``` | ``` | ||
- | 3. Run '' | + | 3. Run '' |
```shell | ```shell | ||
Line 43: | Line 43: | ||
</ | </ | ||
- | 4. Based on different unbutu versions, | + | 4. Execute |
- | You need to go to the following three directories and use the 'git lfs pull' command to pull large files, otherwise | + | |
```shell | ```shell | ||
external/ | external/ | ||
prebuilts/ | prebuilts/ | ||
- | system/core | ||
device/ | device/ | ||
``` | ``` | ||
```shell | ```shell | ||
- | xxx@server:/ | + | xxx@server:~/Edge2$ sudo apt install git-lfs |
- | xxx@server:/ | + | xxx@server: |
- | Git LFS: (6 of 6 files) | + | xxx@server: |
- | xxx@server:/ | + | xxx@server:~/Edge2/external/ |
- | /users/edge2 | + | xxx@server: |
- | xxx@server:/ | + | Git LFS: (4 of 4 files) |
- | xxx@server:/ | + | xxx@server:~/Edge2/ |
- | xxx@server:/ | + | /users/Edge2 |
- | Git LFS: (2 of 2 files) | + | xxx@server:~/Edge2$ cd prebuilts/ |
- | 。。。... | + | xxx@server:~/Edge2/ |
+ | Git LFS: (3 of 3 files) 936.69 MB / 936.69 MB | ||
+ | xxx@server:~/Edge2/ | ||
+ | / | ||
+ | xxx@server: | ||
+ | xxx@server: | ||
+ | Git LFS: (1 of 1 files) | ||
+ | xxx@server: | ||
``` | ``` | ||
- | 5. Begin a new branch for development: | + | 5. Begin a new branch for development |
```shell | ```shell |