开发者

CyanogenMod or AOSP: Compile a single project

开发者 https://www.devze.com 2023-02-12 18:24 出处:网络
I am trying to MAKE / Compile a single AOSP project from the repository - specifically packages/apps/Email.

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).


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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消