Skip to content

ShiSheng-AOSP-Project/local_manifests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Android Open Source Project

用你知道的方式把AOSP源码同步下来

# Google Code

repo init -u https://android.googlesource.com/platform/manifest -b android-11.0.0_r38 --depth=1

# or Tsinghua, etc.

repo init -u https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/platform/manifest -b android-11.0.0_r38 --depth=1

# 同步local_manifests

git clone https://github.com/SudoerzAOSPMod/local_manifests .repo/local_manifests -b 11

# 同步源码

repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags

编译

# Set up environment
$ . build/envsetup.sh

# Choose a target
$ lunch aosp_$device-userdebug

# Build the code
$ brunch $device

已有源码切换分支

$ repo init -b android-11.0.0_r38

此清单来源

https://github.com/AOSP-11/local_manifests

https://github.com/SudoerzAOSPMod/local_manifests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages