单独编译Android app模块

前提:执行过make,全部重新编译过


1、执行source build/envsetup.sh

2、执行mmm packages/apps/Music (编译的是Music模块,out/target/product/generic/system/app目录下可以看到Music.apk

3、执行make snod 重新生成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.)

你可能感兴趣的:(android,单独编译模块)