This is a function of the testing tools being built on a different branch in AOSP and of them being versioned differently. This isn't a bug. The fact that it happens with Espresso and that being from Google is just coincidence. They're not going to rev Espresso just to track each version of the support libs. Any library used as a test dependency with mismatching transitive dependencies can have this problem.
On Tue, Jul 21, 2015, 2:32 PM Greg Macdonald <[email protected]> wrote: > If you take the update to support lib 22.2.1, particularly > support-annotations 22.2.1, then building espresso targets gives an error > for conflicting dependencies on annotations 22.2.0 and 22.2.1 > > Found this workaround on reddit that seems to work: > > configurations.all { > // Currently espresso is dependent on support-annotations:22.2.0 > resolutionStrategy.force > 'com.android.support:support-annotations:22.2.1' > } > > > -- > 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. > -- 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.
