How to resolve this dependency conflict?

Asked

Viewed 329 times

2

I created a new project for some tests but this error is appearing

Error:Execution failed for task ':app:preDebugAndroidTestBuild'.

Conflict with dependency 'com.android.support:support-Annotations' in project ':app'. Resolved versions for app (26.1.0) and test app (27.1.1) differ. See https://d.android.com/r/tools/test-apk-dependency-Conflicts.html for Details.

  • It is not a solution, but mine I just solved by copying my app file from an application that was working to the one that is problem. Check out this link: https://stackoverflow.com/questions/28999124/resolved-versions-for-app-22-0-0-and-test-app-21-0-3-differ I did everything on it, but I didn’t. If you find the solution, please put it here :D

  • 1

    Put part of the Gradle, it’s better to answer you

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.