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

相关推荐
booboosui9 小时前
Android 上来电怎么判:7 个条件加 5 个中文词
android
MardaWang9 小时前
App 内嵌 H5 的信任边界设计(ArkWeb/HarmonyOS 实战)
android
石头慢慢说9 小时前
不写 XPath,让 AI 在真机上跑测试:Appium MCP 全流程实战
android
90后的晨仔12 小时前
解决 Android 构建报错:Unable to delete file .../file-map.txt
android·前端
mg66812 小时前
安卓玩机工具----安卓手机变成桌面电脑!多窗口镜像+音频投射+游戏操控,无需 Root
android·智能手机·电脑
peakmain913 小时前
异常处理 - Native 层的崩溃捕获机制及实现 (一)
android·性能优化
木头左14 小时前
【Android】听写播放器改版:中英文书写速度拆项与「正在读」高亮
android·room·media3·jetpack compose·听写
好的佩奇15 小时前
Dart 之方法、操作符与可调用对象
android·flutter·dart
恋猫de小郭15 小时前
Flutter Impeller Vulkan 内存持续上涨,问题没想到是文字阴影
android·前端·flutter