sean le roy
sean le roy

Reputation: 567

Android Support Library Specification

Recently I've noticed an error in my gradle files for both mobile and wear, that says the following.

Error Message

I've tried changing to the different versions but it is still showing an error no matter what version I change it to. Can someone give me some guidance on solving this please. My gradle is as follows,

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.google.android.support:wearable:2.0.0'
compile 'com.google.android.gms:play-services-wearable:10.2.0'
compile 'com.android.support:support-compat:25.3.0'
provided 'com.google.android.wearable:wearable:2.0.0'
compile 'com.android.support:design:25.3.0'
compile 'com.github.PhilJay:MPAndroidChart:v3.0.1'
compile 'com.jakewharton:butterknife:8.5.1'
compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
compile 'com.itextpdf:itextg:5.5.10'
compile 'io.reactivex.rxjava2:rxjava:2.0.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'

}

The error is actually at compile 'com.android.support:support-compat:25.3.0'. I'm assuming that is because this is the first one on the list it come across.

Upvotes: 1

Views: 405

Answers (1)

Rider
Rider

Reputation: 130

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.

Upvotes: 2

Related Questions