My Android application uses rather large number of non trivial external libraries. These libraries are all written in Java and simply added to the build path.
Launching the application from within Eclipse takes a REALLY long time, roughly 5 minutes. This is extremely frustrating!
I enabled the verbose android build output. This shows that the build process is iterating overall *.class
files in the external libraries. I get hundreds of these lines:
...
Dx processing android/support/v4/app/FragmentTransaction.class...
Dx processing android/support/v4/app/FragmentManagerImpl$3.class...
Dx processing android/support/v4/app/LoaderManagerImpl.class...
...
Dx processing com/prosysopc/ua/client/ServerStatusListener.class...
...
Dx processing org/opcfoundation/ua/core/BrowseNextRequest.class...
...
(This is just a small sample, again I get hundreds of these for each *.class
)
I am not really sure what the Dx tool is doing here, but it is definitely annoying!
Making matters worse this process is repeated for EVERY single launch, no caching no nothing...
Possible ideas:
- Is there a cache for this somewhere? Where? Maybe it is readonly and thus does not persist?
- Can I completely disable the "DX processing" step for my development builds?
Any possible solutions or at least ideas? This is really driving me crazy ;-)
Thanks!