We are preparing a blog post to explain a few things, but the gist of it is that you can create a variant that's minSdkVersion 21+ and this variant will be be able to build faster because it doesn't have to compute the list of classes to put in the main dex file. It'll do pre-dexing and won't combine each dex file together so it's faster. Of course, this means you need to test on a 21+ device/emulator.
Look at the multiDex sample, build the "ics" and "lollipop" variants and see how the tasks differ. On Fri, Oct 31, 2014 at 6:34 PM, Adrian <[email protected]> wrote: > Are there any plans in the future to somehow combine the two? I understand > why they are mutually exclusive but for dev time, my build time goes from > around 20-30 seconds to a minute plus now when using the multi-dex option. > I don't mind using the multi-dex options for a release build but for > developing it's quite an annoying wait each time. > > -- > You received this message because you are subscribed to the Google Groups > "adt-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. http://developer.android.com | http://tools.android.com Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
