--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/b0eafce6-ac2a-4871-a30f-33b5db819dd4n%40googlegroups.com.
in fact I already had my application added to
“build/make/target/product/aosp_product.mk”. But I got an error when building
the source tree.
The error message was:
FAILED:
Build/make/core/artifact_path_requirements.mk:26: warning: build/make/target/product/sdk_phone_x86_64.mk produces files inside build/make/target/product/generic_system.mks artifact path requirement.
Offending entries:
System/priv-app/<AppName>/<AppName>.apk
My first idea was that “aosp_product.mk” is the wrong file and I have to add the make file for my app somewhere else.
Because of your answers I digged deeper into log files and did some googling.
Finally I found the reason for the error. I had to add
LOCAL_PRODUCT_MODULE := true
to the make file of my app. Now the apk is installed in “system/priv-app” folder.
@pan