Precompiled dex library

My Android project contains a plenty of Java libraries that are compiled to dex each time I launch my application. The libraries do not change. Is there any way to precompile those libraries to dex? It make useless work each time compiling the same libraries to dex while making apk.


I had similiar problem and have found a solution, you have to use (undocumented) --incremental switch with dex too. Refer to this solution on SO for more information.

This might be the only current workaround:

Need Your Help

Adaptive Layout in Xcode 8

ios xcode xcode8 ios10 adaptive-layout

I am developing app using Xcode 8 (beta 1). Unfortunately, I am not able to find "Size Classes" option.

Grails integration testing NPE using h2

grails groovy h2 spock

I am trying to write an integration test in grails using an h2 database. I'm using h2 so I don't have to setup a database in the CI server. However I'm having problems initializing the data in my