Eould it be necessary to set the minSdkVersion to 21 on each module or is it 
enough to add it to the app's gradle?

Valerio Santinelli

Inviato da iPhone

> Il giorno 17/lug/2015, alle ore 13:57, Artem Zinnatullin 
> <[email protected]> ha scritto:
> 
> For development purposes you can configure separate product flavor with 
> minSdkVersion 21, this flavor can be build a lot faster than regular one 
> because ART which replaced Dalvik in APIs > 20 supports multiple dex files 
> out of the box, multidex for API <= 20 requires a lot of time to decide what 
> classes should be placed in first dex file.
> 
> Take a look: 
> https://developer.android.com/tools/building/multidex.html#dev-build
> 
> 
>> On Friday, July 17, 2015 at 10:31:44 AM UTC+3, Valerio Santinelli wrote:
>> Thanks Xavier, this is something that's definitely needed for large projects.
>> 
>> Have you got any suggestions to decrease the build time in the meanwhile?
>> 
>> Cheers!
>> 
>> Valerio
>> 
>> Il giorno venerdì 17 luglio 2015 01:09:01 UTC+2, Xavier Ducrohet ha scritto:
>>> 
>>> It's not yet incremental though it's something we want to look at in the 
>>> near future.
>>> 
>>> On Thu, Jul 16, 2015 at 1:35 PM, Valerio Santinelli <[email protected]> 
>>> wrote:
>>>> Hello everyone,
>>>> 
>>>> is there any news on incremental dexing for projects using MultiDex? I've 
>>>> got a quite large one where I needed to turn MiltiDex on and now it takes 
>>>> a very long time to compile. I suppose that incremental dexing would 
>>>> really help in reducing compile times. So is there any news on this front?
>>>> 
>>>> Cheers!
>>>> 
>>>> Valerio Santinelli
>>>> -- 
>>>> 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/pgSqZo-OZ84/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.

Reply via email to