Android源码编译基于ubuntu20.04和Pixel3真机

1.清华aosp源码下载,配置地址

https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/

#下载之前执行代码
$ apt install gnutls-bin
$ git config --global http.sslVerify false
设置git最低速度
$ git config --global http.lowSpeedLimit 0
$ git config --global http.lowSpeedTime 999999
设置http缓存
$ git config --global http.postBuffer 1048576000

2.通过修改环境变量文件更新REPO_URL的地址

https://mirrors.tuna.tsinghua.edu.cn/help/git-repo/

3.Android各版本分支名称列表

https://source.android.com/setup/start/build-numbers#sour


版权声明:本文为yxf0448原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。