2017-03-19 4 views
2

최근 내 그라디언트 파일에 모바일 및 마모 모두에서 오류가 있음을 확인했습니다.Android 지원 라이브러리 사양

Error Message

나는 다른 버전으로 변경 시도했다하지만 여전히 상관없이 I가 변경 버전을 오류가 표시되지 않습니다. 누군가 나에게이 문제를 해결하기위한 지침을 줄 수 있습니까? 다음과 같이 내 Gradle을은

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' 

}

오류는 컴파일 'com.android.support:support-compat:25.3.0'에서 실제로이다. 나는 그것이 그것이 우연히 만나는 목록의 첫번째 것이기 때문에 그것이 있다고 생각하고있다.

+0

아마도이 라이브러리 중 하나는 오래된'23.0.1' 버전에 의존하고 있으며 의존성 충돌을 야기하고 있습니다. – nandsito

+0

라이브러리를 거쳐야하는지 알 수 있습니다. 맞을 수도 있습니다, 제가 알려 드리겠습니다. –

답변

3

컴파일 'com.google.android.support:wearable:2.0.0'

컴파일 'com.android.support:support-compat:25.3.0'

이 서로 충돌하고 있습니다 이 두 가지 중 하나를 선택해야합니다.

문제는

이 구글에서 곧 릴리스에서 수정 될 예정이 함께 "com.google.android.support"및 "com.android.support"로한다.

+0

여전히 문제가 해결되지 않습니까? –

+0

예 괜찮습니다. – Rider

+0

훌륭해, 고마워! –

관련 문제