Android系统模块编译常用命令
2019-07-18 本文已影响5人
程序员大耳
#环境生效
source build/envsetup.sh
lunch 5
#清理编译
make clean
#更新系统改动API
make update-api
#8线程编译
make -j8
#编译OTA全量包
make otapackage
#编译system.img
#make systemimage
#编译userdata.img
#make userdataimage
#编译ramdisk.img
#make ramdisk
#编译recovery.img(ramdisk-recovery.img)
#make recoveryimage
#便模块后,快速打包system.img
#make snod
参考:
https://blog.csdn.net/arrol1786936883/article/details/79290517
https://blog.csdn.net/u010164190/article/details/54912301