编译Android技术总结

下载源代码

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,无需安装其他工具。

猜你喜欢

转载自www.cnblogs.com/JebediahKerman/p/Techsum_of_Android_Compilation.html