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

相关推荐
投笔丶从戎1 分钟前
Kotlin Multiplatform--01:项目结构基础
android·开发语言·kotlin
Lary_Rock1 小时前
Android 编译问题 prebuilts/clang/host/linux-x86
android·linux·运维
王江奎2 小时前
Android FFmpeg 交叉编译全指南:NDK编译 + CMake 集成
android·ffmpeg
limingade2 小时前
手机打电话通话时如何向对方播放录制的IVR引导词声音
android·智能手机·蓝牙电话·手机提取通话声音
hepherd3 小时前
Flutter 环境搭建 (Android)
android·flutter·visual studio code
_一条咸鱼_3 小时前
揭秘 Android ListView:从源码深度剖析其使用原理
android·面试·android jetpack
_一条咸鱼_3 小时前
深入剖析 Android NestedScrollView 使用原理
android·面试·android jetpack
_一条咸鱼_3 小时前
揭秘 Android ScrollView:深入剖析其使用原理与源码奥秘
android·面试·android jetpack
_一条咸鱼_3 小时前
深入剖析 Android View:从源码探寻使用原理
android·面试·android jetpack