Replace only framework.jar & its relevant libraries on Android MarshMallow

Viewed 5224

Anyone know steps to replace frameworks.jar and relevant libraries on Android Marshmallow device?

My work is to modify Android Marshmallow framework source code, do full-build then update to device then verify result. It takes about 1,2 hours each time.

It is OK if I do it 1,2,3 times but actually I had to repeat it even 100 times if my modification not work. But I only modify only a small piece of code in frameworks/ so I think it would save me much time if I can rebuild only frameworks/ module in Android code and replace only frameworks/ part in device.

I know how to use mmm to rebuild just frameworks/ module. But I don' know how to replace frameworks/ part in device because just replace frameworks.jar not work in Marshmallow case.

1 Answers
Related