How to create Android without a phone app?

I am trying to run android on gumstix overo . since I do not plan to use the last “product” as a phone, I asked myself if it is possible to exclude applications, such as phone / dialer -app, from the kernel assembly process (maybe any configuration parameter?)

+7
android build
source share
2 answers

Just delete (or comment out) the following lines:

<project path="packages/apps/Phone" name="platform/packages/apps/Phone" /> <project path="packages/apps/VoiceDialer" name="platform/packages/apps/VoiceDialer" />
(and others, if necessary) from the platform manifest (default.xml):

https://android.googlesource.com/platform/manifest/+/master/default.xml

+2
source share

Removing application declarations in the repo manifest did not work for me, as there are other libraries that reference them, which then will not compile. A systematic approach to this problem is to create / modify the makefile so as not to include specific applications.

So, for excess, you probably already have the product file products / overo.mk . You can manually set the PRODUCT_PACKAGES variable to which application you want to send. You will also want to take a look at the PRODUCT_POLICY variable, as it defines the application suites for your product type.

It may take some time for everything to be built correctly due to the interdependencies between the applications, but the Android build output pretty well explains the problems when they arise.

+1
source share

All Articles