Resolved versions for app (23.1.1) and test app (22.2.1) differ
See original GitHub issueAnytime i try to sync my gradle i get this message
Error:Conflict with dependency 'com.android.support:support-annotations'. Resolved versions for app (23.1.1) and test app (22.2.1) differ. See http://g.co/androidstudio/app-test-app-conflict for details.
These i believe are the essential excerpts from my gradle file
testCompile 'junit:junit:4.12'
testCompile 'org.robolectric:robolectric:3.1-SNAPSHOT'
testCompile 'org.assertj:assertj-core:3.3.0'
testCompile 'com.squareup.assertj:assertj-android:1.1.1'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.android.support:cardview-v7:23.1.1'
compile 'com.android.support:support-v4:23.1.1'
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:12 (1 by maintainers)
Top Results From Across the Web
app'. Resolved versions for app (26.1.0) and test app (27.1.1 ...
Based on your screenshot i found two working solutions: First solution: add to dependencies of your gradle module this line
Read more >Resolved versions for app (26.0.0) and test app (27.1.1) differ ...
Resolved versions for app (26.0.0) and test app (27.1.1) differ problem solved in Android Studio. Android studio is a common software for ...
Read more >Support Library Revision Archive - Android Developers
This page provides details about older Support Library package releases.
Read more >Release Notes - Play services - Google Developers
December 08, 2022. The latest update to Firebase includes changes to: Firebase Android BoM (Bill of Materials); Firebase Cloud Messaging.
Read more >Firebase Android SDK Release Notes
App Check Debug Testing version 16.1.0. Updated to accommodate the release of the updated App Check Kotlin extensions library.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

The link in the exception tells you how to remedy this.
Here’s an example: https://github.com/JakeWharton/u2020/blob/05a57bf43b9b61f16d32cbe8717af77cd608b0fb/build.gradle#L136-L140
@JakeWharton Thanks! But anyone knows why that happens?