Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim4: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
Next revision Both sides next revision
products:sbc:vim4:development:android:download-android-source-code [2022/08/05 02:29]
ruby
products:sbc:vim4:development:android:download-android-source-code [2022/09/08 09:02]
goenjoy
Line 1: Line 1:
-====== VIM4Download Android Source Code ======+====== VIM4 Download Android Source Code ======
  
 ===== Introduction ===== ===== Introduction =====
Line 31: Line 31:
  
 ```shell ```shell
-$ repo init -u https://github.com/khadas/android_manifest.git -b khadas-vim4-r+$ repo init -u https://github.com/khadas/android_manifest.git -b khadas-vim4-r-64bit
 ``` ```
  
Line 43: Line 43:
  
 <WRAP important > <WRAP important >
-If the initial sync operation failed, you need to run the command repeatly; or you can try with this script:+If ''repo sync'' operation failed, you need to run the command repeatly; or you can try with this script:
  
 ```shell ```shell
Line 58: Line 58:
 </WRAP> </WRAP>
  
 +4) Based on different unbutu versions, the following operations may be required to pull large files(Otherwise, the corresponding file is small and incorrect).
 +You need to go to the following three directories and use the 'git lfs pull' command to pull large files, otherwise an [error](https://forum.khadas.com/t/cannot-build-an-android/15886) will be reported during compilation:
 +```shell
 +vendor/amlogic/common
 +device/khadas/kvim4-kernel
 +device/khadas
 +```
 +```shell
 +xxx@server:/users/vim4$ cd vendor/amlogic/common
 +xxx@server:/users/vim4/vendor/amlogic/common$ git lfs pull
 +Git LFS: (6 of 6 files) 239.31 MB / 239.31 MB                                                                                                                                                                                         
 +xxx@server:/users/vim4/vendor/amlogic/common$ cd -
 +/users/vim4
 +xxx@server:/users/vim4$ cd device/khadas/
 +xxx@server:/users/vim4/device/khadas$ 
 +xxx@server:/users/vim4/device/khadas$ git lfs pull
 +Git LFS: (2 of 2 files) 231.89 MB / 231.89 MB                                                                                                                                                                                             
 +xxx@server:/users/vim4/device/khadas$ cd kvim4-kernel/
 +xxx@server:/users/vim4/device/khadas/kvim4-kernel$ 
 +xxx@server:/users/vim4/device/khadas/kvim4-kernel$ git lfs pull    
 +Git LFS: (4 of 4 files) 451.79 MB / 451.79 MB                                                                                                                                                                                             
 +xxx@server:/users/vim4/device/khadas/kvim4-kernel$
 +```
  
- +5) Begin a new branch for development:
-4) Begin a new branch for development:+
  
 ```shell ```shell
Last modified: 2022/09/28 09:45 by nick