• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Dependency Error

croninberg

Newbie
Oct 24, 2016
35
5
I have this error in my gradle file relating to the use of the support where Its saying I have multiple libraries clashing. The error is,

"All android support libraries must use the exact same support libraries. Found 25.3.0, 23.0.1"

compile 'com.android.support:support-compat:25.3.0'

Its caused because of the above line. Anyone know of a solution.
 
Hi,

Most likely somewhere else in the gradle file(s) you are using a differnet version number for some other support library. Something like " compile 'com.android.support:lib-ABC:23.0.1' ".
I would just search for "23.0.1" .
Usually this happens after an update.
A Build->CleanProject is recommended .

It appears from a response I got on stackoverflow that this is known issue that will be fixed in the next update. This is the response.

"compile 'com.google.android.support:wearable:2.0.0'

compile 'com.android.support:support-compat:25.3.0'

these are conflicting with each other you have to select one from these two.

The issue is with these together "com.google.android.support" and "com.android.support"

will be fixed in the upcoming release from google"
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones