Android: Use precompiled libraries?
Every time I add a library to my Android project the compilation process gets slower. **Is there a way to cache the (library) dex files so only the application gets recompiled every time?** Ideally the build process should check whether the library JAR has changed, if it hasn't it should reuse the prexisting dex file.

I am using [nbandroid][1] but I assume the Eclipse build suffers from the same problem.

[1]: http://www.nbandroid.org/
Android: Use precompiled libraries?
===

Every time I add a library to my Android project the compilation process gets slower. **Is there a way to cache the (library) dex files so only the application gets recompiled every time?** Ideally the build process should check whether the library JAR has changed, if it hasn't it should reuse the prexisting dex file.

I am using [nbandroid][1] but I assume the Eclipse build suffers from the same problem.

[1]: http://www.nbandroid.org/