下载源代码

https://source.android.google.cn/setup/build/downloading?hl=zh-cn

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

编译

https://source.android.google.cn/setup/build/building?hl=zh-cn


技术总结

1.Android 10源代码大概50G,编译(aosp_x86_64-userdebug)过程中产生的文件大概135G,所以硬盘至少需要185G的剩余空间。

2.Android 10源代码中包含了预编译的clangjdk,无需安装其他工具。

 

相关文章:

  • 2021-10-05
  • 2021-04-01
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-23
  • 2021-11-21
  • 2022-12-23
  • 2021-09-08
  • 2021-05-14
相关资源
相似解决方案