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.