CyanogenMod or AOSP: Compile a single project

江枫思渺然 提交于 2019-12-04 19:04:15

问题


I am trying to MAKE / Compile a single AOSP project from the repository - specifically packages/apps/Email.

Does anyone know how to do it? (I have no problem compiling the entire repository, but I really would like to be able to compile a single project as well).


回答1:


If your environment has been configured by build/envsetup.sh in your android tree, you can run mmm [project_path] to build only a specific subproject. (This will require that you've built its dependencies from the tree before.)

As CommonsWare pointed out, if you're trying to build the Email app using the SDK there's more porting work to do.




回答2:


make Email also works (and generally make [appname] for all apps)



来源:https://stackoverflow.com/questions/5057394/cyanogenmod-or-aosp-compile-a-single-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!