Few or one of your libraries exercise an old version of
customtabs internally, that's why this warning message is displaying. In case you implement this with the latest version then the warning will be gone.
Afterwards including this I have also displayed the same error for another older version of dependencies. After including this also all warning is gone.
Hope this will help you to solve your issue.
As of Android studio 3.0, it turns much easier as it currently shows a more helpful hint, so we just require to follow this hint.
All com.android.support libraries should employ the exact similar version specification (mixing versions can lead to runtime crashes). Found versions 27.0.2, 26.1.0. Examples included com.android.support:animated-vector-drawable:27.0.2 and com.android.support:customtabs:26.1.0
There are frw summation 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 specifically, a version lower than your targetSdkVersion.)
Include apparently the library with the old version however with a new version number.
in my instance
com.android.support:customtabs:26.1.0 so I require to include:
For example- Take the library from the second item, and performed it with the version number from the first.
Note: don't forget to press sync now so gradle can rebuild the dependency graph and view in case there are any more conflicts.
You may be distracted by the error message as don't employ
customtabs so how I have a conflict!!
well. you didn't employ it directly however one of your libraries uses an old version of
customtabs internally, so you require to ask for it directly.
In case you are inquisitive to know which of your libraries is responsible for the old version and maybe ask the author to update his lib, Run a Gradle dependency report, view the old answer to know how.