Android does not compile a module

Source: Internet
Author: User

Android 5.1 Source code, compile-related files are generally in the build directory
Build/target/product put a lot of MK files, generally different products will have different catalogs

Suppose I don't want to compile Openwnn, grep "Openwnn" in the build directory
Target/product/full_base.mk
Target/product/sdk_base.mk
Enter these two documents and delete the two sentences and the relevant libraries:

Product_packages: = libfwdlockengine Wappushmanager


Remove the Out directory or just delete the relevant files
Re-compile can

In full_base.mk , you have the following content

Product_packages: =+ = livewallpaperspicker noisefield phasebeam visualizationwallpapers PhotoTable ......  

There are so many packages in sdk_base.mk .

There are so many packagesproduct_packages in sdk_base.mk:=         Dialer         Gallery         Mms         Music         systemui ......

Do not want to compile which, delete that is. In the corresponding product MK file, make sure that you do not have this module

But some places may call these apps. If a module is not compiled, and the system has a
, it is likely that there will be a pop-up window warning. For example, "SMS" has stopped working.

ADB shell
[Email Protected]_name:/system/app # RM-RF Mms
Delete SMS app from machine, need root permission
In Android to pay attention to grammar,-RF can not write on the last side of Android does not compile a module

Android does not compile a module

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.