add workaround for annotations dependency conflict with espresso am: eee3518d11
am: 349edcf169
Change-Id: I178c7bc7c2639559e8b4848f1a2af0bcdffcc849
This commit is contained in:
@@ -95,6 +95,19 @@ dependencies {
|
|||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
<div class="caution">
|
||||||
|
<p><strong>Caution:</strong> If your build configuration includes a
|
||||||
|
<code>compile</code> dependency for the <code>support-annotations</code>
|
||||||
|
library <b>and</b> an <code>androidTestCompile</code> dependency for the
|
||||||
|
<code>espresso-core</code> library, your build might fail due to a dependency
|
||||||
|
conflict. To resolve, update your dependency for <code>espresso-core</code>
|
||||||
|
as follows:</p>
|
||||||
|
<pre>
|
||||||
|
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
||||||
|
exclude group: 'com.android.support', module: 'support-annotations'
|
||||||
|
})
|
||||||
|
</pre>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
To use JUnit 4 test classes, make sure to specify <a href=
|
To use JUnit 4 test classes, make sure to specify <a href=
|
||||||
|
|||||||
Reference in New Issue
Block a user