android custom build. adding an app to the build

138 Views Asked by At

i want to make a custom build of android by editing the code of android. The main motive is to adding and removing apps from the build. Removing an app from the build is pretty simple. i just deleted its entry from the core.mk file.

but now i want to add my application to the build. every time i get make error.

make: *** No rule to make target `packages/apps/MyApplication/AndroidManifest.xml', needed by `out/target/product/generic/obj/APPS/MyApplication_intermediates/package.apk'.  Stop.

need help for the following topics

  1. how do i write makefile for my application. its just a helloworld app (for first experiment).
  2. do i need to add entry for the application anywhere else than the build/target/product/core.mk file.
  3. what this error refers to. and what is the solution.
0

There are 0 best solutions below