Android How to add a apk so that both the simulator and the real machine are compiled

Source: Internet
Author: User
Tags definition

Adding a apk requires adding local_package_name values to the product_packages.

And product_packages are generally defined in the files in the build/target/product/directory.

1. When compiling the simulator, the apk of the product_packages definition in the following file is compiled

Build/target/product/banyan_addon.mk

Build/target/product/sdk.mk

Sdk/build/product_sdk.mk

Development/build/product_sdk.mk

Build/target/product/core.mk

2. Compiling the true machine version will compile the apk of the product_packages definition in the following file

build/target/product/$project. mk

Build/target/product/common.mk

Build/target/product/telephony.mk

Build/target/product/core.mk

So if you want to add a apk so that both the simulator and the real machine are compiled, you must add it to the CORE.MK (both the simulator and the real machine will be included).

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.