Our samples are always at the bottom of this page http://tools.android.com/tech-docs/new-build-system
We also now have some official documentation here: http://developer.android.com/tools/building/multidex.html On Tue, Nov 4, 2014 at 8:53 AM, Felipe Lima <[email protected]> wrote: > Xavier, where can I find these samples? I don't see any for the API 21 SDK. > > Thanks > > On Saturday, November 1, 2014 4:50:06 PM UTC-2, Adrian wrote: >> >> Alright thank you will give it a shot. >> >> — >> Adrian >> (206) 588-5957 >> >> >> On Sat, Nov 1, 2014 at 11:08 AM, Xavier Ducrohet <[email protected]> >> wrote: >> >>> 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 a topic in the >>> Google Groups "adt-dev" group. >>> To unsubscribe from this topic, visit https://groups.google.com/d/ >>> topic/adt-dev/f4GaRbkLRXc/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > 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.
