【汇总】Android 编译命令
一、变量、命令、参数
| 排序 | 变量、命令、参数 | 英文说明 | 中文说明 | 备注、示例 |
| A | ||||
| B | ||||
| C | ||||
| D | ||||
| E | ||||
| F | ||||
| G | ||||
| H | ||||
| I | ||||
| J | ||||
| K | ||||
| L | ||||
| M | ||||
| m、mm、mmm | 详见:https://www.cnblogs.com/wutou/p/18657643 | |||
| mma、mmma | ||||
| make all | 编译出完整镜像包 | |||
| make android | 编译android | |||
| make android_clean | 清理编译 android | |||
| make android_vendor | 编译android vendor部分 | |||
| make android_system | 编译android system部分 | |||
| make clean | ||||
| make installclean | ||||
| make otapackage | 生成OTA升级包 | |||
| make qnx_clean | 清理编译 qnx | |||
| make sdk | ||||
| make systemimage | system.img | |||
| make snod | 快速打包system.img (with this command, it will build a new system.img very quickly. well, you cannot use “make snod” for all the situations. it would not check the dependences. if you change some code in the framework which will effect other applications) | |||
| make userdataimage | userdata.img | |||
| make ramdisk | ramdisk.img | |||
| N | ||||
| O | ||||
| P | ||||
| Q | ||||
| R | ||||
| S | source build/envsetup.sh | 生效编译环境 | ||
| T | lunch <项目名 | 项目数字> | 选择编译项目 | ||
| U | ||||
| V | ||||
| W | ||||
| X | ||||
| Y | ||||
| Z |
来源说明:
https://blog.csdn.net/ialexanderi/article/details/15341563
https://blog.csdn.net/ldswfun/article/details/119783255
https://blog.csdn.net/sunsonfly/article/details/13502993
浙公网安备 33010602011771号