Skip to content Skip to sidebar Skip to footer

Ant How Do I Disable Pre-dexing R21+

hello my ant build takes forever with pre-dexing after updating to r21 [dex] Pre-Dexing myproject/android/google-play-services_lib/bin/classes.jar -> classes-27fa775977cf84dcd4e

Solution 1:

From build.xml , it looks like you can change the property out.dex.input.absolute.dir for all different builds to point to a single directory outside target directory. If the pre-dexed file is present, i guess build system will not try to pre-dex it again.

out.dex.input.absolute.dir

Using maven android plugin ], the post here indicates that predex is turned off by default , though the post is a day old, so maybe you need to get the latest beta version of plugin. You can disable predex by using

    <dexPreDex>false</dexPreDex>

Post a Comment for "Ant How Do I Disable Pre-dexing R21+"