android源码下载

如果是虚拟机 切换桥接模式

1 mkdir ~/bin、PATH=~/bin:$PATH

2 curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo > ~/bin/repo

3 chmod +x ~/bin/repo

4 设置git 全局用户名 邮箱

5 设置缓存 git config --global http.postBuffer 5000000000

6 设置清华源:export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'

7 初始化下载 repo init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest -b android-13.0.0_r40

8 下载 repo sync -c -j8

相关推荐
studyForMokey15 分钟前
【Android面试】Gradle专题
android·面试·职场和发展
向上_503582912 小时前
配置Protobuf输出Java文件或kotlin文件
android·java·开发语言·kotlin
陆业聪2 小时前
AI 时代最被低估的工程师技能:把需求写清楚
android·人工智能·aigc
夏沫琅琊2 小时前
Android 的 Activity 启动模式
android
zh_xuan2 小时前
Android compose Navigation 页面导航
android·compose
luanma1509803 小时前
PHP vs C#:30字秒懂两大语言核心差异
android·开发语言·python·php·laravel
luanma1509804 小时前
Laravel 7.X核心特性深度解析
android·开发语言·php·lua·laravel
运维老曾4 小时前
Flink 1.20 使用自带jdbc source 操作步骤
android·adb·flink
陆业聪6 小时前
2026 年还在靠「感觉」调性能?Android Profiler 这样用才对
android·人工智能·性能优化
草莓熊Lotso7 小时前
MySQL 多表连接查询实战:内连接 + 外连接
android·运维·数据库·c++·mysql