I\'m using AndroidStudio and Gradle to build my Android app with tests in the \'androidTest\' source directory. I added a new dependency and am now getting the following iss
Alternatively, one can exclude the conflicting dependency (e.g. support annotations library) pulled in by the test app dependency (e.g. assertj-android), by using the following:
testCompile('com.squareup.assertj:assertj-android:1.0.0') {
exclude group: 'com.android.support', module: 'support-annotations'
}