square / assertj-android

A set of AssertJ helpers geared toward testing Android.
https://square.github.io/assertj-android/
Apache License 2.0
1.58k stars 156 forks source link

Error:Conflict with dependency 'com.android.support:support-annotations' in project ':app'. Resolved versions for app (25.2.0) and test app (23.1.1) differ. See http://g.co/androidstudio/app-test-app-conflict for details. #220

Closed azil15 closed 7 years ago

azil15 commented 7 years ago

Error:Conflict with dependency 'com.android.support:support-annotations' in project ':app'. Resolved versions for app (25.2.0) and test app (23.1.1) differ. See http://g.co/androidstudio/app-test-app-conflict for details.

JakeWharton commented 7 years ago

This is not a problem with the library but with your build system. You should look up how to force versions such that the same transitive dependencies are used. Also you can exclude this transitive dependency from assertj-android so that the normal one is used.

On Sat, Jun 3, 2017, 6:49 PM azil15 notifications@github.com wrote:

Error:Conflict with dependency 'com.android.support:support-annotations' in project ':app'. Resolved versions for app (25.2.0) and test app (23.1.1) differ. See http://g.co/androidstudio/app-test-app-conflict for details.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/square/assertj-android/issues/220, or mute the thread https://github.com/notifications/unsubscribe-auth/AAEEEermoHSsn4P028HXViNMy3TG58AVks5sAeMQgaJpZM4NvOMG .