top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to make android build fast whenever there is a change in framework

+1 vote
532 views

I am doing some changes in frameworks/base/, so i just wanted to know whether there is a faster process of building it. Currently what i follow is very slow i.e. I do

$ make -j4 installclean // which cleans *.img files from the /out folder
$ make -j4

and finally it creates all *.img. So apart from the above process, is there a way for a single line of change can be built fast ?

posted Aug 28, 2013 by Ahmed Patel

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

You can use mm

Go to frameworks/base/ ; do your changes; then do mm 

This will build only the frameworks.jar similarly you can do for other projects as well

answer Aug 28, 2013 by Garima Jain
So after doing mm, does the change gets updated when my emulator is running or do I have to restart the emulator again ?
You have to restart the emulator
Similar Questions
+3 votes

I want to know if there is a way to some settings to be used by framework services such as ActivityManagerService of WindowManagerService like apps can do with preferences. They should be able to store some of their variables into some persistent storage and read them at bootup.

Currently, I found only the xml files in res/res folder but this is editable only at compile time.

+3 votes

I need to change the Wifi channel programmatically (Of course, I will enable the Wifi to function as Hotsopt first).
Is there any API/Driver in the source code that I can use?

+3 votes

I want to make my FAB button look like a circle or any particular shape? how to achieve this?

...