98配列机械键盘选购指南:从核心配置到实战推荐
2026/8/25 16:16:58
[历史归档]本文原发布于 cstriker1407.info 个人博客,内容为历史存档,仅供参考。
发布时间:2015-02-08| 标题:Android源码编译简单记录|分类:操作系统 / linux / android |标签:android
继【 Android源码下载简单记录 】下载好之后,就可以编译了,这里笔记一份最简单的编译流程。详细的参数参考【 官网 】。
cstriker1407@cstriker1407-x64:~$cd~ cstriker1407@cstriker1407-x64:~$ gedit .bashrc#在bash文件的最后加入命令exportUSE_CCACHE=1cstriker1407@cstriker1407-x64:~$source.bashrc cstriker1407@cstriker1407-x64:~$cdandroidsource/#作者编译的是5.0,因此输入命令如下:cstriker1407@cstriker1407-x64:~/androidsource$ prebuilts/misc/linux-x86/ccache/ccache-M50G Set cache size limit to50.0Gbytescstriker1407@cstriker1407-x64:~/androidsource$.build/envsetup.sh#编一个全功能的cstriker1407@cstriker1407-x64:~/androidsource$ lunch aosp_arm-eng cstriker1407@cstriker1407-x64:~/androidsource$makecstriker1407@cstriker1407-x64:~/androidsource$ emulator#通过下面的命令定时查看缓存使用情况watch-n1-dprebuilts/misc/linux-x86/ccache/ccache-s作者这里只是简单的笔记了最基本的流程,很多优化(make 的多线程,emulator的设置)都没有笔记。后续在专门笔记把。