Here’s an exerpt from the ADT’s latest changelog:
Build performance improvements.
The big changes in Ant, besides supporting the new type of library projects, and the build improvements mentioned above (aapt and png crunch cache) is that the new Ant build finally properly supports dependency check before doing any actions. This means that, while some steps (aapt, dex) are still not incremental, they, at least, won’t run if they don’t need to. In r13 and before, aidl compilation, resources ID generation, dex’ing, packaging, etc.. would happen all the time even if no file changed.
However after having updated everything I don’t see any performance boost when compiling my projects with ant. Unmodified projects are still built from scratch every ant debug install.
Should I activate these optimizations somewhere? or am I not using the right ant command?
No activation is needed other than updating your build.xml with something like
After updating you should see the lines in your build log
If you see it, then you are using mentioned optimizations from latest sdk-tools.