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:vim4:development:android:download-android-source-code [2022/08/04 23:53] ruby |
products:sbc:vim4:development:android:download-android-source-code [2022/09/07 08:57] goenjoy |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== VIM4: Download Android Source Code ====== | + | ====== VIM4 Download Android Source Code ====== |
===== Introduction ===== | ===== Introduction ===== | ||
- | The branch of Android Source Code of Khadas VIMs board is located on [[kg> | + | Android Source Code branch |
You can follow the steps to download the Source Code. | You can follow the steps to download the Source Code. | ||
===== Steps ===== | ===== Steps ===== | ||
- | First, install | + | Install |
```shell | ```shell | ||
Line 22: | Line 21: | ||
``` | ``` | ||
- | 1) Create an empty directory to hold your working files: | + | 1) Create an empty directory to store working files: |
```shell | ```shell | ||
Line 35: | Line 34: | ||
``` | ``` | ||
- | 3) Run '' | + | 3) Run '' |
```shell | ```shell | ||
$ repo sync -j4 | $ repo sync -j4 | ||
``` | ``` | ||
- | The initial sync operation may take an hour or more to complete. | + | It will take approx one hour to complete |
<WRAP important > | <WRAP important > | ||
- | You might need to run above command repeatly | + | If '' |
```shell | ```shell | ||
Line 59: | Line 58: | ||
</ | </ | ||
+ | 4) Based on different unbutu versions, the following operations may be required to pull large files(Otherwise, | ||
+ | You need to go to the following three directories and use the 'git lfs pull' command to pull large files, otherwise an [error](https:// | ||
+ | ```sh | ||
+ | vendor/ | ||
+ | device/ | ||
+ | device/ | ||
+ | ``` | ||
+ | ```shell | ||
+ | xxx@server:/ | ||
+ | xxx@server:/ | ||
+ | Git LFS: (6 of 6 files) 239.31 MB / 239.31 MB | ||
+ | xxx@server:/ | ||
+ | /users/vim4 | ||
+ | xxx@server:/ | ||
+ | xxx@server:/ | ||
+ | xxx@server:/ | ||
+ | Git LFS: (2 of 2 files) 231.89 MB / 231.89 MB | ||
+ | xxx@server:/ | ||
+ | xxx@server:/ | ||
+ | xxx@server:/ | ||
+ | Git LFS: (4 of 4 files) 451.79 MB / 451.79 MB | ||
+ | xxx@server:/ | ||
+ | ``` | ||
- | + | 5) Begin a new branch for development: | |
- | 4) Begin a new branch for development: | + | |
```shell | ```shell |