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).
Android Open Source Project (AOSP) is a project maintained by Google from where we can get the source code for the Android operating system. Since it is an open-source project anyone can download the android source code, compile it onto their machine, and can easily make some modifications to the source code.
lunch. Choose which target to build with lunch . lunch product_name - build_variant selects product_name as the product to build, and build_variant as the variant to build, and stores those selections in the environment to be read by subsequent invocations of m and other similar commands.
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With