Hi, you need to add your app name to PRODUCT_PACKAGES so that the your app
will be built.
For eg:
If the name of your application is defined like below
LOCAL_MODULE := SampleApp
then add it to PRODUCT_PACKAGES like
PRODUCT_PACKAGES += SampleApp
If your not sure where to put this flag then just add this in your app's
Android.mk
LOCAL_PATH:= $(call my-dir)
and at the end of this file add
include $(call all-makefiles-under, $(LOCAL_PATH)
Then create a mk file with your app name itself (sampleapp.mk) in the same
directory and add the PRODUCT_PACKAGES flag in it. Thats it.
Happy learning.
On Tuesday, 19 October 2021 at 02:49:44 UTC+5:30 [email protected]
wrote:
> I want to write an application to select different wallpapers and boot
> animations for OEM branding. This application should become part of the
> android system image. Once the branding has been chosen the application
> should no longer be started when booting the image.
>
> On this way I wanted to proceed step by step.
>
> But already at the first step I fail.
>
> This first step is a simple HelloWorld java application.
>
> I was building the android sources by lunching the target aosp_x86_64-eng.
>
> I added the source files for the application in directory
> aosp/vendor/<CompanyName>/packages/app/HelloWorld" with both an
> "Android.mk" and a "AndroidManifest.xml" file.
>
> But I couldn't figure out where to add the HelloWorld application in the
> build tree so that it becomes part of the image.
>
> Is there a rule I can follow where to put the link to the application?
>
>
>
--
--
You received this message because you are subscribed to the "Android Building"
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-building/b8aa4320-60a7-4c58-a055-9ce59b19800dn%40googlegroups.com.