我正在开发一个应用程序,并且在更新了一些库之后,我遇到了 TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/internal/measurement/zztc.class
问题。
我尝试了许多解决方案,每个人都说可能是导致此问题的依赖性,但我无法解决该问题。我还检查了依赖关系树,但找不到问题。 这是依赖关系树-
+--- com.android.support:appcompat-v7:26.0.2
| +--- com.android.support:support-annotations:26.0.2
| +--- com.android.support:support-v4:26.0.2
| | +--- com.android.support:support-compat:26.0.2
| | | \--- com.android.support:support-annotations:26.0.2
| | +--- com.android.support:support-media-compat:26.0.2
| | | +--- com.android.support:support-annotations:26.0.2
| | | \--- com.android.support:support-compat:26.0.2 (*)
| | +--- com.android.support:support-core-utils:26.0.2
| | | +--- com.android.support:support-annotations:26.0.2
| | | \--- com.android.support:support-compat:26.0.2 (*)
| | +--- com.android.support:support-core-ui:26.0.2
| | | +--- com.android.support:support-annotations:26.0.2
| | | \--- com.android.support:support-compat:26.0.2 (*)
| | \--- com.android.support:support-fragment:26.0.2
| | +--- com.android.support:support-compat:26.0.2 (*)
| | +--- com.android.support:support-core-ui:26.0.2 (*)
| | \--- com.android.support:support-core-utils:26.0.2 (*)
| +--- com.android.support:support-vector-drawable:26.0.2
| | +--- com.android.support:support-annotations:26.0.2
| | \--- com.android.support:support-compat:26.0.2 (*)
| \--- com.android.support:animated-vector-drawable:26.0.2
| +--- com.android.support:support-vector-drawable:26.0.2 (*)
| \--- com.android.support:support-core-ui:26.0.2 (*)
+--- com.android.support:design:26.0.2
| +--- com.android.support:support-v4:26.0.2 (*)
| +--- com.android.support:appcompat-v7:26.0.2 (*)
| +--- com.android.support:recyclerview-v7:26.0.2
| | +--- com.android.support:support-annotations:26.0.2
| | +--- com.android.support:support-compat:26.0.2 (*)
| | \--- com.android.support:support-core-ui:26.0.2 (*)
| \--- com.android.support:transition:26.0.2
| +--- com.android.support:support-annotations:26.0.2
| \--- com.android.support:support-v4:26.0.2 (*)
+--- com.android.support:cardview-v7:26.0.2
| \--- com.android.support:support-annotations:26.0.2
+--- com.android.support:recyclerview-v7:26.0.2 (*)
+--- project :ActiveAndroid
+--- com.facebook.android:facebook-android-sdk:4.1.0
| +--- com.android.support:support-v4:[21,22) -> 26.0.2 (*)
| \--- com.parse.bolts:bolts-android:1.2.0
+--- com.devbrackets.android:exomedia:4.2.3
| +--- com.google.android.exoplayer:exoplayer-core:2.8.1 -> 2.8.2
| | \--- com.android.support:support-annotations:27.0.0 ->
26.0.2
| +--- com.google.android.exoplayer:exoplayer-dash:2.8.1 -> 2.8.2
| | +--- com.google.android.exoplayer:exoplayer-core:2.8.2 (*)
| | \--- com.android.support:support-annotations:27.0.0 ->
26.0.2
| +--- com.google.android.exoplayer:exoplayer-hls:2.8.1 -> 2.8.2
| | +--- com.android.support:support-annotations:27.0.0 ->
26.0.2
| | \--- com.google.android.exoplayer:exoplayer-core:2.8.2 (*)
| +--- com.google.android.exoplayer:exoplayer-smoothstreaming:2.8.1
-> 2.8.2
| | +--- com.google.android.exoplayer:exoplayer-core:2.8.2 (*)
| | \--- com.android.support:support-annotations:27.0.0 ->
26.0.2
| +--- com.android.support:support-media-compat:27.1.1 -> 26.0.2
(*)
| \--- com.android.support:appcompat-v7:27.1.1 -> 26.0.2 (*)
+--- com.android.support:multidex:1.0.0
+--- com.squareup.picasso:picasso:2.5.2
+--- com.crashlytics.sdk.android:crashlytics:2.9.1
| +--- io.fabric.sdk.android:fabric:1.4.2
| +--- com.crashlytics.sdk.android:beta:1.2.7
| | \--- io.fabric.sdk.android:fabric:1.4.1 -> 1.4.2
| +--- com.crashlytics.sdk.android:answers:1.4.1
| | \--- io.fabric.sdk.android:fabric:1.4.1 -> 1.4.2
| \--- com.crashlytics.sdk.android:crashlytics-core:2.6.1
| +--- io.fabric.sdk.android:fabric:1.4.2
| \--- com.crashlytics.sdk.android:answers:1.4.1 (*)
+--- com.pyze:PyzeLibrary:3.0.2
| +--- com.google.android.gms:play-services-ads:11.2.0
| | +--- com.google.android.gms:play-services-ads-lite:[11.2.0]
-
> 11.2.0
| | | \--- com.google.android.gms:play-services-basement:
[11.2.0] -> 16.0.1
| | | \--- com.android.support:support-v4:26.1.0 ->
26.0.2 (*)
| | +--- com.google.android.gms:play-services-basement:[11.2.0]
-
> 16.0.1 (*)
| | \--- com.google.android.gms:play-services-gass:[11.2.0] ->
11.2.0
| | \--- com.google.android.gms:play-services-basement:
[11.2.0] -> 16.0.1 (*)
| +--- com.google.android.gms:play-services-base:11.2.0 -> 16.0.1
| | +--- com.google.android.gms:play-services-basement:16.0.1
(*)
| | \--- com.google.android.gms:play-services-tasks:16.0.1
| | \--- com.google.android.gms:play-services-
basement:16.0.1 (*)
| \--- com.google.firebase:firebase-messaging:11.2.0 -> 17.3.4
| +--- com.google.android.gms:play-services-basement:16.0.1
(*)
| +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| +--- com.google.firebase:firebase-common:16.0.3
| | +--- com.google.android.gms:play-services-
basement:16.0.1 (*)
| | \--- com.google.android.gms:play-services-tasks:16.0.1
(*)
| +--- com.google.firebase:firebase-iid:[17.0.4] -> 17.0.4
| | +--- com.google.android.gms:play-services-
basement:16.0.1 (*)
| | +--- com.google.android.gms:play-services-stats:16.0.1
| | | \--- com.google.android.gms:play-services-
basement:16.0.1 (*)
| | +--- com.google.android.gms:play-services-tasks:16.0.1
(*)
| | +--- com.google.firebase:firebase-common:16.0.3 (*)
| | \--- com.google.firebase:firebase-iid-interop:16.0.1
| | +--- com.google.android.gms:play-services-
base:16.0.1 (*)
| | \--- com.google.android.gms:play-services-
basement:16.0.1 (*)
| \--- com.google.firebase:firebase-measurement-
connector:17.0.1
| \--- com.google.android.gms:play-services-
basement:16.0.1 (*)
+--- com.mixpanel.android:mixpanel-android:5.+ -> 5.4.3
+--- com.google.android.gms:play-services-auth:16.0.1
| +--- com.google.android.gms:play-services-auth-api-phone:16.0.0
| | +--- com.google.android.gms:play-services-base:16.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:16.0.1 (*)
| | \--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| +--- com.google.android.gms:play-services-auth-base:16.0.0
| | +--- com.google.android.gms:play-services-base:16.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:16.0.1 (*)
| | \--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| +--- com.google.android.gms:play-services-base:16.0.1 (*)
| +--- com.google.android.gms:play-services-basement:16.0.1 (*)
| \--- com.google.android.gms:play-services-tasks:16.0.1 (*)
+--- com.google.android.gms:play-services-location:16.0.0
| +--- com.google.android.gms:play-services-base:16.0.1 (*)
| +--- com.google.android.gms:play-services-basement:16.0.1 (*)
| +--- com.google.android.gms:play-services-places-
placereport:16.0.0
| | \--- com.google.android.gms:play-services-basement:16.0.1 (*)
| \--- com.google.android.gms:play-services-tasks:16.0.1 (*)
+--- com.google.android.gms:play-services-maps:16.0.0
| +--- com.google.android.gms:play-services-base:16.0.1 (*)
| \--- com.google.android.gms:play-services-basement:16.0.1 (*)
+--- com.google.android.gms:play-services-plus:16.0.0
| +--- com.google.android.gms:play-services-audience:16.0.0
| | +--- com.google.android.gms:play-services-base:16.0.1 (*)
| | \--- com.google.android.gms:play-services-basement:16.0.1 (*)
| +--- com.google.android.gms:play-services-base:16.0.1 (*)
| \--- com.google.android.gms:play-services-basement:16.0.1 (*)
+--- com.google.android.gms:play-services-base:16.0.1 (*)
+--- com.google.firebase:firebase-core:16.0.4
| +--- com.google.firebase:firebase-analytics:16.0.4
| | +--- com.google.android.gms:play-services-basement:16.0.1 (*)
| | +--- com.google.android.gms:play-services-measurement-
api:16.0.2
| | | +--- com.google.android.gms:play-services-ads-
identifier:16.0.0
| | | | \--- com.google.android.gms:play-services-
basement:16.0.1 (*)
| | | +--- com.google.android.gms:play-services-
basement:16.0.1 (*)
| | | +--- com.google.android.gms:play-services-measurement-
base:16.0.3 -> 16.0.4
| | | | \--- com.google.android.gms:play-services-
basement:16.0.1 (*)
| | | +--- com.google.android.gms:play-services-stats:16.0.1
(*)
| | | +--- com.google.android.gms:play-services-tasks:16.0.1
(*)
| | | +--- com.google.firebase:firebase-analytics-impl:16.2.2
-> 16.2.3
| | | | +--- com.google.android.gms:play-services-ads-
identifier:16.0.0 (*)
| | | | +--- com.google.android.gms:play-services-
basement:16.0.1 (*)
| | | | +--- com.google.android.gms:play-services-
measurement-base:[16.0.4] -> 16.0.4 (*)
| | | | +--- com.google.android.gms:play-services-
stats:16.0.1 (*)
| | | | +--- com.google.android.gms:play-services-
tasks:16.0.1 (*)
| | | | +--- com.google.firebase:firebase-common:16.0.3 (*)
| | | | \--- com.google.firebase:firebase-iid:17.0.3 ->
17.0.4 (*)
| | | +--- com.google.firebase:firebase-common:16.0.3 (*)
| | | \--- com.google.firebase:firebase-iid:17.0.3 -> 17.0.4
(*)
| | +--- com.google.android.gms:play-services-measurement-
base:16.0.3 -> 16.0.4 (*)
| | +--- com.google.android.gms:play-services-stats:16.0.1 (*)
| | +--- com.google.firebase:firebase-analytics-impl:16.2.2 ->
16.2.3 (*)
| | \--- com.google.firebase:firebase-common:16.0.3 (*)
| \--- com.google.firebase:firebase-measurement-connector-
impl:17.0.2
| +--- com.google.android.gms:play-services-basement:16.0.1 (*)
| +--- com.google.android.gms:play-services-measurement-
api:16.0.2 (*)
| +--- com.google.android.gms:play-services-measurement-
base:16.0.3 -> 16.0.4 (*)
| +--- com.google.firebase:firebase-analytics:16.0.4 (*)
| +--- com.google.firebase:firebase-analytics-impl:16.2.2 ->
16.2.3 (*)
| +--- com.google.firebase:firebase-common:16.0.3 (*)
| \--- com.google.firebase:firebase-measurement-
connector:17.0.1 (*)
+--- com.google.firebase:firebase-invites:16.0.4
| +--- com.google.android.gms:play-services-appinvite:16.0.4
| | +--- com.google.android.gms:play-services-base:16.0.1 (*)
| | +--- com.google.android.gms:play-services-basement:16.0.1 (*)
| | +--- com.google.android.gms:play-services-measurement-
base:16.0.3 -> 16.0.4 (*)
| | +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| | \--- com.google.firebase:firebase-dynamic-links:16.1.2 ->
16.1.3
| | +--- com.google.android.gms:play-services-base:16.0.1
(*)
| | +--- com.google.android.gms:play-services-
basement:16.0.1 (*)
| | +--- com.google.android.gms:play-services-measurement-
base:[16.0.4] -> 16.0.4 (*)
| | +--- com.google.android.gms:play-services-tasks:16.0.1
(*)
| | +--- com.google.firebase:firebase-analytics-impl:
[16.2.3] -> 16.2.3 (*)
| | \--- com.google.firebase:firebase-common:16.0.3 (*)
| \--- com.google.firebase:firebase-analytics:16.0.4 (*)
+--- com.google.firebase:firebase-appindexing:16.0.2
| +--- com.google.android.gms:play-services-base:16.0.1 (*)
| +--- com.google.android.gms:play-services-basement:16.0.1 (*)
| +--- com.google.android.gms:play-services-tasks:16.0.1 (*)
| \--- com.google.firebase:firebase-common:16.0.3 (*)
+--- com.google.firebase:firebase-messaging:17.3.4 (*)
+--- com.google.firebase:firebase-dynamic-links:16.1.3 (*)
+--- com.zoho.salesiq:mobilisten:1.3-beta3
| +--- com.android.support:appcompat-v7:27.1.0 -> 26.0.2 (*)
| \--- com.zoho.salesiq:mobilisten-chat:1.3-beta3
| +--- com.android.support:appcompat-v7:27.1.1 -> 26.0.2 (*)
| +--- com.android.support:recyclerview-v7:27.1.1 -> 26.0.2 (*)
| +--- com.android.support:cardview-v7:27.1.1 -> 26.0.2 (*)
| +--- com.android.support:design:27.1.1 -> 26.0.2 (*)
| +--- com.android.support:support-dynamic-animation:27.1.1 ->
26.0.2
| | \--- com.android.support:support-core-utils:26.0.2 (*)
| +--- com.android.support:customtabs:27.1.1 -> 26.0.2
| | +--- com.android.support:support-compat:26.0.2 (*)
| | \--- com.android.support:support-annotations:26.0.2
| +--- com.google.android.gms:play-services-maps:15.0.1 ->
16.0.0 (*)
| +--- com.google.android.gms:play-services-location:15.0.1 ->
16.0.0 (*)
| \--- com.nostra13.universalimageloader:universal-image-
loader:1.9.5
\--- com.google.android.exoplayer:exoplayer:2.8.2
+--- com.google.android.exoplayer:exoplayer-core:2.8.2 (*)
+--- com.google.android.exoplayer:exoplayer-dash:2.8.2 (*)
+--- com.google.android.exoplayer:exoplayer-hls:2.8.2 (*)
+--- com.google.android.exoplayer:exoplayer-smoothstreaming:2.8.2 (*)
\--- com.google.android.exoplayer:exoplayer-ui:2.8.2
+--- com.google.android.exoplayer:exoplayer-core:2.8.2 (*)
+--- com.android.support:support-media-compat:27.0.0 -> 26.0.2
(*)
\--- com.android.support:support-annotations:27.0.0 -> 26.0.2