Skip to content Skip to sidebar Skip to footer

Vendor Application Build Aosp

I have to build an android application in AOSP source tree with vendor config. Which have some pre-build .so files, I have loaded the .so files by using the following configuration

Solution 1:

Solution for this issue.

I have created a new .mk(LibCopy.mk) file for copy the .SO files to the vendor path when the ASOP build, and the LibCopy.mk will call from the device.mk file $(call inherit-product-if-exists, <Your application path>/LibCopy.mk)

My LibCopy.mk look like below

PRODUCT_COPY_FILES := \vendor/apps/MySample/lib/<architecture>/libmysamplelib.so:vendor/app/MySample/lib/<architecture>/libmysamplelib.so \

Post a Comment for "Vendor Application Build Aosp"