APK or so generated by Android compilation is not installed

Source: Internet
Author: User

There were several issues in the Android online compilation system last Saturday, as shown below:

Question 1:
Problem description: place the Java application under packages \ apps for compilation, and enter the application mm for compilation separately. you can install and install it under system/APP in out, but make does not
Cause: the local_module_tags: = optional module is compiled but not installed in the image. to install the Optional module, add the module name to the product_packages of the product.
Solution:
Modify the product_packages under \ build \ target \ product \ Generic. mk and add the compiled application to the application package,

Question 2:
Run the copybit and openmmx Hal interface code in Moudle under libhardware to compile the application mm separately. you can install it to system/lib/HW under out, but make does not exist in the root directory.

Solution:
The local_module_tags variable in Android. mk is incorrect.
Local_module_tags: = optional
Change this
Local_module_tags: = ENG
After setting it, recompile it.

The reason is that the local_module_tags variable is closely related to the target_build_variant variable. If this parameter is not specified during Android compilation
The value of the target_build_variant variable. The default value is target_build_variant = ENG, which specifies the version style formed during Android compilation.

Local_module_tags: = user Eng tests optional

User: indicates that this module is compiled only in the user version.

Eng: indicates that this module is compiled only in the Eng version.

Tests: indicates that this module is compiled only in the tests version.

Optional: indicates that this module is compiled in all versions.


Related Article

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.