rajath rajath -4 years ago 71
Android Question

Build Android AOSP system.img from changed framework.jar

I'm trying to change something in

files in the android platform framework, and then use

mmm frameworks/base

to build this into the

How do I build the
file so that this jar file gets linked? Also, without having to build the whole system.

Answer Source

As you note above you can make snod to just make the system image without dependencies.

You can make out/target/product/your-device/system.img which I believe will build a system image plus its dependencies, but nothing else.

Just make probably won't do what you want, because the Android build system will build everything, even stuff which isn't a dependency - it builds all the other packages just in case they are broken by changes to the APIs.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download