I don't think it's enough to reconsider espresso. The good news is that support-annotations didn't change much (or at all in 22.2.1) so forcing it to 22.2.1 is fine.
On Thu, Jul 23, 2015 at 1:41 PM, Greg Macdonald <[email protected]> wrote: > Thanks. I guess we should reconsider using espresso. We're just trying > to switch to multidex and having test build troubles that may also be > related to espresso. > > thanks > > On Wednesday, July 22, 2015 at 6:36:00 AM UTC-7, Jake Wharton wrote: >> >> 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. > -- 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.
