I would like to know if I need to rebuild and relocate the entire AOSP tree after making changes to the Java source files in framework.jar.
I have buildable ICS and JellyBean os trees and I can successfully install them on my virtual machine.
I know about CCACHE to speed up the build, and I assume that if I change the C / C ++ code, then restoring and reinstalling the whole tree is my only option.
However, for small changes, such as one of the files with a view or activity file, is there a faster method? Recovery and reinstallation each time makes the development process slow and painful. I am sure that suppliers and that do not have faster methods at their disposal.
I had no luck with this method:
Running mm in frameworks / base (compiled successfully) and replacing framework.jar / framework.odex files on the running system.
Reboot - but then the system hangs in front of the boot screen.
I tested my code by restoring the whole image and reinstalling it, and this image loaded fine.
source share