All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 25.2.0, 24.0.0. Examples include com.android.support:animated-vector-drawable:25.2.0 and com.android.support:customtabs:24.0.0
In Android Studio Terminal
execute the command:
./gradlew -q dependencies app:dependencies --configuration compile
TO
dependencies {
..
compile "com.android.support:customtabs:${supportLibVersion}"
}
In Android Studio Terminal
execute the command:
./gradlew -q dependencies app:dependencies --configuration compile
-----------------------------Output-------------------------------
Root project
------------------------------------------------------------
No configurations
------------------------------------------------------------
Project :app
------------------------------------------------------------
compile - Classpath for compiling the main sources.
+--- com.android.support:appcompat-v7:25.2.0
| +--- com.android.support:support-annotations:25.2.0
| +--- com.android.support:support-v4:25.2.0
| | +--- com.android.support:support-compat:25.2.0
| | | \--- com.android.support:support-annotations:25.2.0
| | +--- com.android.support:support-media-compat:25.2.0
| | | +--- com.android.support:support-annotations:25.2.0
| | | \--- com.android.support:support-compat:25.2.0 (*)
| | +--- com.android.support:support-core-utils:25.2.0
| | | +--- com.android.support:support-annotations:25.2.0
| | | \--- com.android.support:support-compat:25.2.0 (*)
| | +--- com.android.support:support-core-ui:25.2.0
| | | +--- com.android.support:support-annotations:25.2.0
| | | \--- com.android.support:support-compat:25.2.0 (*)
| | \--- com.android.support:support-fragment:25.2.0
| | +--- com.android.support:support-compat:25.2.0 (*)
| | +--- com.android.support:support-media-compat:25.2.0 (*)
| | +--- com.android.support:support-core-ui:25.2.0 (*)
| | \--- com.android.support:support-core-utils:25.2.0 (*)
| +--- com.android.support:support-vector-drawable:25.2.0
| | +--- com.android.support:support-annotations:25.2.0
| | \--- com.android.support:support-compat:25.2.0 (*)
| \--- com.android.support:animated-vector-drawable:25.2.0
| \--- com.android.support:support-vector-drawable:25.2.0 (*)
+--- com.android.support:design:25.2.0
| +--- com.android.support:support-v4:25.2.0 (*)
| +--- com.android.support:appcompat-v7:25.2.0 (*)
| +--- com.android.support:recyclerview-v7:25.2.0
| | +--- com.android.support:support-annotations:25.2.0
| | +--- com.android.support:support-compat:25.2.0 (*)
| | \--- com.android.support:support-core-ui:25.2.0 (*)
| \--- com.android.support:transition:25.2.0
| +--- com.android.support:support-annotations:25.2.0
| \--- com.android.support:support-v4:25.2.0 (*)
+--- com.github.traex.rippleeffect:library:1.3
| \--- com.android.support:support-annotations:22.0.0 -> 25.2.0
+--- com.android.support:support-v4:25.2.0 (*)
+--- com.google.android.gms:play-services-analytics:10.2.0
| +--- com.google.android.gms:play-services-analytics-impl:10.2.0
| | +--- com.google.android.gms:play-services-base:10.2.0
| | | +--- com.google.android.gms:play-services-basement:10.2.0
| | | | \--- com.android.support:support-v4:24.0.0 -> 25.2.0 (*)
| | | \--- com.google.android.gms:play-services-tasks:10.2.0
| | | \--- com.google.android.gms:play-services-basement:10.2.0 (*)
| | \--- com.google.android.gms:play-services-basement:10.2.0 (*)
| +--- com.google.android.gms:play-services-base:10.2.0 (*)
| +--- com.google.android.gms:play-services-basement:10.2.0 (*)
| \--- com.google.android.gms:play-services-tagmanager-v4-impl:10.2.0
| +--- com.google.android.gms:play-services-analytics-impl:10.2.0 (*)
| +--- com.google.android.gms:play-services-base:10.2.0 (*)
| \--- com.google.android.gms:play-services-basement:10.2.0 (*)
+--- com.android.support:recyclerview-v7:25.2.0 (*)
+--- com.android.support:cardview-v7:25.2.0
| \--- com.android.support:support-annotations:25.2.0
+--- org.jsoup:jsoup:1.9.2
+--- com.nostra13.universalimageloader:universal-image-loader:1.9.5
+--- de.hdodenhof:circleimageview:2.1.0
+--- com.github.johnkil.android-robototextview:robototextview:2.5.1
| \--- com.android.support:appcompat-v7:24.2.0 -> 25.2.0 (*)
+--- com.android.support:percent:25.2.0
| \--- com.android.support:support-compat:25.2.0 (*)
+--- biz.kasual:materialnumberpicker:1.2.1
| \--- com.android.support:appcompat-v7:23.1.0 -> 25.2.0 (*)
+--- ch.acra:acra:4.9.1
| +--- com.android.support:support-v4:24.1.1 -> 25.2.0 (*)
| \--- com.android.support:support-annotations:24.1.1 -> 25.2.0
+--- com.squareup.okhttp:okhttp:2.7.5
| \--- com.squareup.okio:okio:1.6.0
+--- com.squareup.picasso:picasso:2.5.2
+--- me.zhanghai.android.customtabshelper:library:1.0.2
| +--- com.android.support:support-v4:24.0.0 -> 25.2.0 (*)
| \--- com.android.support:customtabs:24.0.0
| +--- com.android.support:support-annotations:24.0.0 -> 25.2.0
| \--- com.android.support:support-v4:24.0.0 -> 25.2.0 (*)
+--- project :core
+--- project :preferenceslib
| +--- com.android.support:appcompat-v7:25.2.0 (*)
| +--- com.github.michael-rapp:android-util:1.11.1
| | +--- com.android.support:support-annotations:24.2.0 -> 25.2.0
| | \--- com.android.support:support-v4:24.2.0 -> 25.2.0 (*)
| +--- com.github.michael-rapp:android-material-dialog:4.0.0
| | +--- com.android.support:appcompat-v7:24.2.1 -> 25.2.0 (*)
| | +--- com.android.support:design:24.2.1 -> 25.2.0 (*)
| | +--- com.github.michael-rapp:android-util:1.11.1 (*)
| | \--- com.github.michael-rapp:android-material-views:2.1.3
| | +--- com.android.support:appcompat-v7:24.2.0 -> 25.2.0 (*)
| | \--- com.github.michael-rapp:android-util:1.11.1 (*)
| \--- com.github.michael-rapp:android-material-validation:2.0.4
| +--- com.android.support:appcompat-v7:24.2.0 -> 25.2.0 (*)
| \--- com.github.michael-rapp:android-util:1.11.1 (*)
\--- project :sdkcore
\--- com.android.support:appcompat-v7:25.2.0 (*)
(*) - dependencies omitted (listed previously)
....
In Build.gradle appREPLACE
compile 'me.zhanghai.android.customtabshelper:library:1.0.2'
TO
dependencies {
..
compile ('me.zhanghai.android.customtabshelper:library:1.0.2'){ exclude group: 'com.android.support' //exclude old lib }...
compile "com.android.support:customtabs:${supportLibVersion}"
}
Комментариев нет:
Отправить комментарий