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

相关推荐
Xzaveir19 小时前
别把所有“认证”都塞进 AuthService:实名、一键登录与号码身份的领域拆分
android·人工智能
BerrySen17819 小时前
KMP全栈开发:从Android到AI Agent的技术演进与实践
android·人工智能
YM52e21 小时前
鸿蒙Flutter Center居中组件:Align对齐详解
android·学习·flutter·华为·harmonyos·鸿蒙
时间的拾荒人1 天前
MySQL 视图详解
android·数据库·mysql
祉猷并茂,雯华若锦1 天前
Appium 3.x安卓按键与通知栏操作全指南
android·appium
码农coding1 天前
android 12 SurfaceFlinger开机启动分析
android
hunterandroid1 天前
Paging 3 RemoteMediator 实战:构建离线优先的分页列表
android·前端
码农coding1 天前
android12 开机启动PMS
android
Days20501 天前
GPT-Image-2 国风美学人设生成提示词分享
android·gpt
浮江雾1 天前
Flutter第十节-----Flutter布局与组件全解析
android·开发语言·前端·学习·flutter·入门