Move APK outside APK filder

80 views
Skip to first unread message

anands...@gmail.com

unread,
Mar 2, 2021, 1:16:33 PM3/2/21
to Android Building
Hi all, 

   As part of my makefile , few of the apps are getting copied over to a location defined by LOCAL_MODULE_PATH.

For example : LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/ota/test

The problem I am facing is, our PostInstall service is looking for .apk file directly under $(TARGET_OUT_DATA)/ota/test/ but my makefile creates following structure.

/data/ota/test/app1/app1.apk
/data/ota/test/app2/app2.apk 

How can I modify my AOSP makefile to generate the following directly ?
/data/ota/test/app1.apk
/data/ota/test/app2.apk 

Thanks,
Anand
Reply all
Reply to author
Forward
0 new messages