Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 27.1.1, 23.1.1. Examples include com.android.support:animated-vector-drawable:27.1.1 and com.android.support:design:23.1.1 less... (Ctrl+F1) There are some combinations of libraries, or tools and libraries, that are incompatible, or can lead to bugs. One such incompatibility is compiling with a version of the Android support libraries that is not the latest version (or in particular, a version lower than your targetSdkVersion). Issue id: GradleCompatible #224

Open
AlaaEddinAlbarghoth opened this issue Dec 5, 2018 · 4 comments

Comments

@AlaaEddinAlbarghoth
Copy link

All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 27.1.1, 23.1.1. Examples include com.android.support:animated-vector-drawable:27.1.1 and com.android.support:design:23.1.1 less... (Ctrl+F1)
There are some combinations of libraries, or tools and libraries, that are incompatible or can lead to bugs. One such incompatibility is compiling with a version of the Android support libraries that is not the latest version (or in particular, a version lower than your targetSdkVersion). Issue id: GradleCompatible

I got this error when I add the library to gradle !

I used implementation 'com.miguelcatalan:materialsearchview:1.4.0'

Any idea to solve this problem? :)

@grzegorzgg
Copy link

I have the same problem

@salimshivani
Copy link

Guys, have tried upgrading the Gradle plugin?

@lmgy
Copy link

lmgy commented Mar 6, 2019

I added implementation 'com.android.support:support-v4:27.1.1' and implementation 'com.android.support:design:27.1.1' to build.gradle

@am9072
Copy link

am9072 commented Apr 5, 2019

Well simple and quick solution for android conflicting versions that can lead to runtime crashes is to add them manually
https://youtu.be/UDLqFbat7n0
This is how you can add them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants