Libraries don't run dex in Ant. Packaging a library only adds jar files, not dex files.
In Gradle however, if you run tests, a library project will generate a test apk which will indeed (pre)dex its dependencies. On Fri, Mar 7, 2014 at 8:38 AM, Sebastian Schuberth <[email protected]>wrote: > On Fri, Mar 7, 2014 at 5:25 PM, Xavier Ducrohet <[email protected]> wrote: > > > There isn't any issue for it so I created one: > > https://code.google.com/p/android/issues/detail?id=66807 > > Thanks! > > > For Ant, yet technically but it doesn't show up because: > > - you don't build variant in Ant > > - you can't have more than one "app" project really. > > Hmm, my understanding is that this could also apply to Ant builds if > e.g. the app depends on library projects A and B, and A and B both > depend on e.g. guava.jar (and have it in their "libs" directories), > then guava.jar would be dexed both as part of building A and building > B, or? > > -- > Sebastian Schuberth > > -- > 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.
