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

相关推荐
sam.li1 小时前
WebView安全实现(一)
android·安全·webview
移动开发者1号2 小时前
Kotlin协程超时控制:深入理解withTimeout与withTimeoutOrNull
android·kotlin
程序员JerrySUN2 小时前
RK3588 Android SDK 实战全解析 —— 架构、原理与开发关键点
android·架构
移动开发者1号2 小时前
Java Phaser:分阶段任务控制的终极武器
android·kotlin
哲科软件11 小时前
跨平台开发的抉择:Flutter vs 原生安卓(Kotlin)的优劣对比与选型建议
android·flutter·kotlin
jyan_敬言17 小时前
【C++】string类(二)相关接口介绍及其使用
android·开发语言·c++·青少年编程·visual studio
程序员老刘17 小时前
Android 16开发者全解读
android·flutter·客户端
福柯柯18 小时前
Android ContentProvider的使用
android·contenprovider
不想迷路的小男孩18 小时前
Android Studio 中Palette跟Component Tree面板消失怎么恢复正常
android·ide·android studio
餐桌上的王子18 小时前
Android 构建可管理生命周期的应用(一)
android