产考资源
源码下载官方参考地址:https://source.android.com/source/downloading.html
源码版本官方产考地址:https://source.android.com/source/build-numbers.html#source-code-tags-and-builds
清华镜像源下载产考地址:https://mirrors.tuna.tsinghua.edu.cn/help/AOSP
下载过程遇到的问题
1. fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
解决办法有两种:
- 采用清华镜像源代替,详情请点击这里,总之执行如下命令即可:
repo init -u https://aosp.tuna.tsinghua.edu.cn/platform/manifest -b 请替换对应的android版本号- 如果有vpn,设置git下载代理:
git config --global http.proxy "代理ip地址:端口号"
,重试即可。
2. gpg (GnuPG) is not available
解决办法: 请点击这里安装GunPG
编译过程遇到的问题