目录
Ubuntu22的安装请参考如下文章
优快云
https://mp.youkuaiyun.com/mp_blog/creation/editor/125628334
1.下载AOSP源码
1.1.安装repo
sudo apt-get install repo
1.2.配置git
git config --global user.email "your_name@xxx.com"
git config --global user.name "your_name"
1.3.因为国内repo源有问题,所以要更换源
export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'
1.4.初始化仓库,并指定版本
repo init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest -b android-12.0.0_r3

本文档详细介绍了如何在Ubuntu 22上下载并编译Android Open Source Project (AOSP)源码,包括环境搭建、编译流程及解决内存不足的问题。
最低0.47元/天 解锁文章
1721

被折叠的 条评论
为什么被折叠?



