このタイプのエラーには同様の投稿がありますが、私の場合は何が問題なのかわかりません。
エラーは:
AGPBI:{"kind": "error"、 "text": "すでに存在するプログラムタイプ:com.google.common.annotations.GwtCompatible"、 "sources":[{}]、 "tool": "D8"}
:app:transformDexArchiveWithExternalLibsDexMergerForFlavorDevDebug FAILED
これは、。/ gradlew app:dependenciesを実行したときの出力の一部です。
flavorDevDebugAndroidTestCompileClasspath - Resolved configuration for compilation for variant: flavorDevDebugAndroidTest
+--- :cloudtestingscreenshotter_lib:
+--- org.mockito:mockito-Android:2.10.0
| +--- org.mockito:mockito-core:2.10.0
| | +--- net.bytebuddy:byte-buddy:1.7.4
| | +--- net.bytebuddy:byte-buddy-agent:1.7.4
| | \--- org.objenesis:objenesis:2.6
| \--- net.bytebuddy:byte-buddy-Android:1.7.4
| +--- net.bytebuddy:byte-buddy:1.7.4
| \--- com.jakewharton.Android.repackaged:dalvik-dx:1
| \--- com.jakewharton.Android.repackaged:libcore-dex:2
+--- com.Android.support:support-annotations:27.1.1
+--- com.Android.support.test.espresso:espresso-core:3.0.2
| +--- com.Android.support.test:runner:1.0.2
| | +--- com.Android.support:support-annotations:27.1.1
| | +--- com.Android.support.test:monitor:1.0.2
| | | \--- com.Android.support:support-annotations:27.1.1
| | +--- junit:junit:4.12
| | | \--- org.hamcrest:hamcrest-core:1.3
| | \--- net.sf.kxml:kxml2:2.3.0
| +--- com.Android.support.test.espresso:espresso-idling-resource:3.0.2
| +--- com.squareup:javawriter:2.1.1
| +--- javax.inject:javax.inject:1
| +--- org.hamcrest:hamcrest-library:1.3
| | \--- org.hamcrest:hamcrest-core:1.3
| +--- org.hamcrest:hamcrest-integration:1.3
| | \--- org.hamcrest:hamcrest-library:1.3 (*)
| \--- com.google.code.findbugs:jsr305:2.0.1
+--- com.Android.support.test.espresso:espresso-intents:3.0.2
| +--- com.Android.support.test.espresso:espresso-core:3.0.2 (*)
| \--- com.Android.support.test:rules:1.0.2
| \--- com.Android.support.test:runner:1.0.2 (*)
+--- com.Android.support.test.espresso:espresso-contrib:3.0.2
| +--- com.Android.support.test.espresso:espresso-core:3.0.2 (*)
| +--- com.Android.support.test.espresso:espresso-idling-resource:3.0.2
| +--- com.Android.support:design:27.1.1
| | +--- com.Android.support:support-v4:27.1.1
| | | +--- com.Android.support:support-compat:27.1.1
| | | | +--- com.Android.support:support-annotations:27.1.1
| | | | \--- Android.Arch.lifecycle:runtime:1.1.0
| | | | +--- Android.Arch.lifecycle:common:1.1.0
| | | | | \--- com.Android.support:support-annotations:26.1.0 -> 27.1.1
| | | | +--- Android.Arch.core:common:1.1.0
| | | | | \--- com.Android.support:support-annotations:26.1.0 -> 27.1.1
| | | | \--- com.Android.support:support-annotations:26.1.0 -> 27.1.1
| | | +--- com.Android.support:support-media-compat:27.1.1
| | | | +--- com.Android.support:support-annotations:27.1.1
| | | | \--- com.Android.support:support-compat:27.1.1 (*)
| | | +--- com.Android.support:support-core-utils:27.1.1
| | | | +--- com.Android.support:support-annotations:27.1.1
| | | | \--- com.Android.support:support-compat:27.1.1 (*)
| | | +--- com.Android.support:support-core-ui:27.1.1
| | | | +--- com.Android.support:support-annotations:27.1.1
| | | | +--- com.Android.support:support-compat:27.1.1 (*)
| | | | \--- com.Android.support:support-core-utils:27.1.1 (*)
| | | \--- com.Android.support:support-fragment:27.1.1
| | | +--- com.Android.support:support-compat:27.1.1 (*)
| | | +--- com.Android.support:support-core-ui:27.1.1 (*)
| | | +--- com.Android.support:support-core-utils:27.1.1 (*)
| | | +--- com.Android.support:support-annotations:27.1.1
| | | +--- Android.Arch.lifecycle:livedata-core:1.1.0
| | | | +--- Android.Arch.lifecycle:common:1.1.0 (*)
| | | | +--- Android.Arch.core:common:1.1.0 (*)
| | | | \--- Android.Arch.core:runtime:1.1.0
| | | | \--- Android.Arch.core:common:1.1.0 (*)
| | | \--- Android.Arch.lifecycle:viewmodel:1.1.0
| | +--- com.Android.support:appcompat-v7:27.1.1
| | | +--- com.Android.support:support-annotations:27.1.1
| | | +--- com.Android.support:support-core-utils:27.1.1 (*)
| | | +--- com.Android.support:support-fragment:27.1.1 (*)
| | | +--- com.Android.support:support-vector-drawable:27.1.1
| | | | +--- com.Android.support:support-annotations:27.1.1
| | | | \--- com.Android.support:support-compat:27.1.1 (*)
| | | \--- com.Android.support:animated-vector-drawable:27.1.1
| | | +--- com.Android.support:support-vector-drawable:27.1.1 (*)
| | | \--- com.Android.support:support-core-ui:27.1.1 (*)
| | +--- com.Android.support:recyclerview-v7:27.1.1
| | | +--- com.Android.support:support-annotations:27.1.1
| | | +--- com.Android.support:support-compat:27.1.1 (*)
| | | \--- com.Android.support:support-core-ui:27.1.1 (*)
| | \--- com.Android.support:transition:27.1.1
| | +--- com.Android.support:support-annotations:27.1.1
| | \--- com.Android.support:support-compat:27.1.1 (*)
| +--- com.Android.support:recyclerview-v7:27.1.1 (*)
| +--- com.Android.support:support-compat:27.1.1 (*)
| +--- com.Android.support:support-core-utils:27.1.1 (*)
| \--- com.google.Android.apps.common.testing.accessibility.framework:accessibility-test-framework:2.0
| \--- org.hamcrest:hamcrest-core:1.3
+--- com.Sun.mail:Android-mail:1.6.0
| \--- com.Sun.mail:Android-activation:1.6.0
+--- com.Sun.mail:Android-activation:1.6.0
+--- com.Android.support:multidex-instrumentation:1.0.2
| \--- com.Android.support:multidex:1.0.2 -> 1.0.3
+--- com.google.apis:google-api-services-youtube:v3-rev180-1.22.0
| \--- com.google.api-client:google-api-client:1.22.0
| +--- com.google.oauth-client:google-oauth-client:1.22.0
| | +--- com.google.http-client:google-http-client:1.22.0
| | | \--- com.google.code.findbugs:jsr305:1.3.9 -> 2.0.1
| | \--- com.google.code.findbugs:jsr305:1.3.9 -> 2.0.1
| +--- com.google.http-client:google-http-client-jackson2:1.22.0
| | +--- com.google.http-client:google-http-client:1.22.0 (*)
| | \--- com.fasterxml.jackson.core:jackson-core:2.1.3 -> 2.9.0
| \--- com.google.guava:guava-jdk5:17.0
+--- com.Android.support:multidex:1.0.3
+--- com.Android.support:support-core-utils:27.1.1 (*)
+--- com.Android.support:appcompat-v7:27.1.1 (*)
+--- com.Android.support:mediarouter-v7:27.1.1
| +--- com.Android.support:support-media-compat:27.1.1 (*)
| +--- com.Android.support:appcompat-v7:27.1.1 (*)
| \--- com.Android.support:palette-v7:27.1.1
| +--- com.Android.support:support-compat:27.1.1 (*)
| \--- com.Android.support:support-core-utils:27.1.1 (*)
+--- com.Android.support:design:27.1.1 (*)
+--- com.Android.support:recyclerview-v7:27.1.1 (*)
+--- com.google.Android.gms:play-services-auth:15.0.1
| +--- com.google.Android.gms:play-services-auth-api-phone:[15.0.1,16.0.0) -> 15.0.1
| | +--- com.google.Android.gms:play-services-base:[15.0.1,16.0.0) -> 15.0.1
| | | +--- com.google.Android.gms:play-services-basement:[15.0.1] -> 15.0.1
| | | | \--- com.Android.support:support-v4:26.1.0 -> 27.1.1 (*)
| | | \--- com.google.Android.gms:play-services-tasks:[15.0.1] -> 15.0.1
| | | \--- com.google.Android.gms:play-services-basement:[15.0.1] -> 15.0.1 (*)
| | +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | \--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-auth-base:[15.0.1] -> 15.0.1
| | +--- com.google.Android.gms:play-services-base:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | \--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-base:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| \--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
+--- com.google.firebase:firebase-core:15.0.2
| +--- com.google.firebase:firebase-analytics:[15.0.2,16.0.0) -> 15.0.2
| | +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.Android.gms:play-services-measurement-base:[15.0.2] -> 15.0.2
| | +--- com.google.Android.gms:play-services-stats:[15.0.1,16.0.0) -> 15.0.1
| | | \--- com.google.Android.gms:play-services-basement:[15.0.1] -> 15.0.1 (*)
| | +--- com.google.firebase:firebase-analytics-impl:[15.0.2] -> 15.0.2
| | | +--- com.google.Android.gms:play-services-ads-identifier:[15.0.1,16.0.0) -> 15.0.1
| | | | \--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | | +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | | +--- com.google.Android.gms:play-services-measurement-base:[15.0.2] -> 15.0.2
| | | +--- com.google.Android.gms:play-services-stats:[15.0.1,16.0.0) -> 15.0.1 (*)
| | | +--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
| | | +--- com.google.firebase:firebase-common:[15.0.1,16.0.0) -> 15.0.1
| | | | +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | | | \--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
| | | \--- com.google.firebase:firebase-iid:[15.1.0,16.0.0) -> 15.1.0
| | | +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | | +--- com.google.Android.gms:play-services-stats:[15.0.1,16.0.0) -> 15.0.1 (*)
| | | +--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
| | | +--- com.google.firebase:firebase-common:[15.0.1,16.0.0) -> 15.0.1 (*)
| | | \--- com.google.firebase:firebase-iid-interop:[15.0.0,16.0.0) -> 15.0.0
| | | +--- com.google.Android.gms:play-services-base:[15.0.1,16.0.0) -> 15.0.1 (*)
| | | \--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | \--- com.google.firebase:firebase-common:[15.0.1,16.0.0) -> 15.0.1 (*)
| \--- com.google.firebase:firebase-measurement-connector-impl:[15.0.0,16.0.0) -> 15.0.0
| +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-measurement-base:[15.0.2] -> 15.0.2
| +--- com.google.firebase:firebase-analytics:[15.0.2] -> 15.0.2 (*)
| +--- com.google.firebase:firebase-analytics-impl:[15.0.2] -> 15.0.2 (*)
| +--- com.google.firebase:firebase-common:[15.0.1,16.0.0) -> 15.0.1 (*)
| \--- com.google.firebase:firebase-measurement-connector:[15.0.0,16.0.0) -> 15.0.0
| \--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
+--- com.google.firebase:firebase-messaging:15.0.2
| +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.firebase:firebase-common:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.firebase:firebase-core:[15.0.2,16.0.0) -> 15.0.2 (*)
| +--- com.google.firebase:firebase-iid:[15.1.0] -> 15.1.0 (*)
| \--- com.google.firebase:firebase-measurement-connector:[15.0.0,16.0.0) -> 15.0.0 (*)
+--- com.google.firebase:firebase-database:15.0.1
| +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.firebase:firebase-common:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.firebase:firebase-database-collection:[15.0.1,16.0.0) -> 15.0.1
| | \--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| \--- com.google.firebase:firebase-database-connection:[15.0.1] -> 15.0.1
| +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.firebase:firebase-analytics:[15.0.1,16.0.0) -> 15.0.2 (*)
| \--- com.google.firebase:firebase-common:[15.0.1,16.0.0) -> 15.0.1 (*)
+--- com.google.firebase:firebase-appindexing:15.0.1
| +--- com.google.Android.gms:play-services-base:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
| \--- com.google.firebase:firebase-common:[15.0.1,16.0.0) -> 15.0.1 (*)
+--- com.google.firebase:firebase-crash:15.0.2
| +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-flags:[15.0.1,16.0.0) -> 15.0.1
| | +--- com.google.Android.gms:play-services-base:[15.0.1] -> 15.0.1 (*)
| | \--- com.google.Android.gms:play-services-basement:[15.0.1] -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-measurement-base:[15.0.2] -> 15.0.2
| +--- com.google.firebase:firebase-analytics-impl:[15.0.2] -> 15.0.2 (*)
| +--- com.google.firebase:firebase-common:[15.0.1,16.0.0) -> 15.0.1 (*)
| \--- com.google.firebase:firebase-iid:[15.1.0,16.0.0) -> 15.1.0 (*)
+--- com.google.firebase:firebase-auth:15.1.0
| +--- com.google.Android.gms:play-services-base:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-flags:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.firebase:firebase-analytics:[15.0.1,16.0.0) -> 15.0.2 (*)
| +--- com.google.firebase:firebase-auth-interop:[15.0.2,16.0.0) -> 15.0.2
| | +--- com.google.Android.gms:play-services-base:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
| | \--- com.google.firebase:firebase-common:[15.0.1,16.0.0) -> 15.0.1 (*)
| \--- com.google.firebase:firebase-common:[15.0.1,16.0.0) -> 15.0.1 (*)
+--- com.google.firebase:firebase-invites:15.0.1
| +--- com.google.Android.gms:play-services-appinvite:[15.0.1,16.0.0) -> 15.0.2
| | +--- com.google.Android.gms:play-services-base:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.Android.gms:play-services-measurement-base:[15.0.2] -> 15.0.2
| | +--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
| | \--- com.google.firebase:firebase-dynamic-links:[15.0.2] -> 15.0.2
| | +--- com.google.Android.gms:play-services-base:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.Android.gms:play-services-measurement-base:[15.0.2] -> 15.0.2
| | +--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.firebase:firebase-analytics-impl:[15.0.2] -> 15.0.2 (*)
| | \--- com.google.firebase:firebase-common:[15.0.1,16.0.0) -> 15.0.1 (*)
| \--- com.google.firebase:firebase-analytics:[15.0.1,16.0.0) -> 15.0.2 (*)
+--- com.google.firebase:firebase-config:15.0.2
| +--- com.google.Android.gms:play-services-base:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-phenotype:[15.0.1,16.0.0) -> 15.0.1
| | +--- com.google.Android.gms:play-services-base:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | \--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.firebase:firebase-abt:[15.0.1,16.0.0) -> 15.0.1
| | +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.firebase:firebase-analytics-impl:[15.0.1,16.0.0) -> 15.0.2 (*)
| | \--- com.google.firebase:firebase-common:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.firebase:firebase-analytics-impl:[15.0.1,16.0.0) -> 15.0.2 (*)
| +--- com.google.firebase:firebase-common:[15.0.1,16.0.0) -> 15.0.1 (*)
| \--- com.google.firebase:firebase-iid:[15.0.1,16.0.0) -> 15.1.0 (*)
+--- com.google.firebase:firebase-ads:15.0.1
| +--- com.google.Android.gms:play-services-ads:[15.0.1,16.0.0) -> 15.0.1
| | +--- com.Android.support:customtabs:26.1.0 -> 27.1.1
| | | +--- com.Android.support:support-compat:27.1.1 (*)
| | | +--- com.Android.support:support-annotations:27.1.1
| | | \--- com.Android.support:support-core-ui:27.1.1 (*)
| | +--- com.google.Android.gms:play-services-ads-base:[15.0.1] -> 15.0.1
| | +--- com.google.Android.gms:play-services-ads-identifier:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.Android.gms:play-services-ads-lite:[15.0.1] -> 15.0.1
| | | +--- com.google.Android.gms:play-services-ads-base:[15.0.1] -> 15.0.1
| | | \--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| | \--- com.google.Android.gms:play-services-gass:[15.0.1] -> 15.0.1
| | +--- com.google.Android.gms:play-services-ads-base:[15.0.1] -> 15.0.1
| | \--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| \--- com.google.firebase:firebase-analytics:[15.0.1,16.0.0) -> 15.0.2 (*)
+--- com.google.firebase:firebase-firestore:16.0.0
| +--- com.squareup.okhttp:okhttp:2.7.2
| | \--- com.squareup.okio:okio:1.6.0
| +--- io.grpc:grpc-okhttp:1.8.0
| | +--- io.grpc:grpc-core:[1.8.0] -> 1.8.0
| | | +--- io.grpc:grpc-context:1.8.0
| | | +--- com.google.guava:guava:19.0
| | | +--- com.google.errorprone:error_prone_annotations:2.0.19
| | | +--- com.google.code.findbugs:jsr305:3.0.0 -> 2.0.1
| | | +--- com.google.instrumentation:instrumentation-api:0.4.3
| | | | +--- com.google.code.findbugs:jsr305:3.0.0 -> 2.0.1
| | | | \--- com.google.guava:guava:19.0
| | | +--- io.opencensus:opencensus-api:0.8.0
| | | | +--- com.google.errorprone:error_prone_annotations:2.0.19
| | | | \--- com.google.guava:guava:19.0
| | | \--- io.opencensus:opencensus-contrib-grpc-metrics:0.8.0
| | | +--- com.google.errorprone:error_prone_annotations:2.0.19
| | | \--- io.opencensus:opencensus-api:0.8.0 (*)
| | +--- com.squareup.okhttp:okhttp:2.5.0 -> 2.7.2 (*)
| | \--- com.squareup.okio:okio:1.6.0
| +--- com.google.firebase:firebase-core:[15.0.1,16.0.0) -> 15.0.2 (*)
| +--- com.google.Android.gms:play-services-basement:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- io.grpc:grpc-stub:1.8.0
| | \--- io.grpc:grpc-core:1.8.0 (*)
| +--- Android.Arch.lifecycle:runtime:1.0.0 -> 1.1.0 (*)
| +--- com.google.firebase:firebase-common:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.firebase:protolite-well-known-types:[15.0.0,16.0.0) -> 15.0.0
| | \--- com.google.protobuf:protobuf-lite:3.0.1
| +--- com.google.Android.gms:play-services-tasks:[15.0.1,16.0.0) -> 15.0.1 (*)
| +--- com.google.firebase:firebase-database-collection:[15.0.1,16.0.0) -> 15.0.1 (*)
| \--- io.grpc:grpc-protobuf-lite:1.8.0
| +--- io.grpc:grpc-core:1.8.0 (*)
| +--- com.google.protobuf:protobuf-lite:3.0.1
| \--- com.google.guava:guava:19.0
+--- com.Android.billingclient:billing:1.0
| \--- com.Android.support:support-annotations:25.0.0 -> 27.1.1
+--- com.Android.support:support-media-compat:27.1.1 (*)
+--- com.Android.support:support-v4:27.1.1 (*)
+--- com.Android.support:customtabs:27.1.1 (*)
+--- com.fasterxml.jackson.core:jackson-core:2.9.0
+--- com.fasterxml.jackson.core:jackson-annotations:2.9.0
+--- com.fasterxml.jackson.core:jackson-databind:2.9.0
| +--- com.fasterxml.jackson.core:jackson-annotations:2.9.0
| \--- com.fasterxml.jackson.core:jackson-core:2.9.0
+--- com.chauthai.swipereveallayout:swipe-reveal-layout:1.4.0
| \--- com.Android.support:support-v4:24.0.0 -> 27.1.1 (*)
+--- com.koushikdutta.ion:ion:2.2.1
| +--- com.koushikdutta.async:androidasync:2.2.1
| \--- com.google.code.gson:gson:2.3
+--- io.reactivex.rxjava2:rxjava:2.0.4
| \--- org.reactivestreams:reactive-streams:1.0.0
+--- com.github.rholder:guava-retrying:2.0.0
| \--- com.google.code.findbugs:jsr305:2.0.2 -> 2.0.1
+--- org.bluecabin.textoo:textoo:1.0.1
| +--- com.Android.support:support-v4:22.2.1 -> 27.1.1 (*)
| \--- org.scala-lang:scala-library:2.11.7
\--- org.greenrobot:greendao:3.2.2
\--- org.greenrobot:greendao-api:3.2.2
私はいくつかの依存関係を更新していますが、ここに到達する前にいくつかの問題を解決していましたが、今はあまりにも長い間この状態になっています。
GwtCompatibleクラスの由来を示すものは何も見当たりません。
あらゆる種類の競合を検出するための古い苦痛な方法を経て、私は一度に1つの依存関係を削除し、最終的に競合がgoogle apiクライアントに関係していることを発見しました。
私が適用するソリューションは com.google.common.annotations.Beta duplicateでも同じでした。つまり、api実装からguavaを除外しています。
Android/app/build.gradleのdefaultConfigの後に設定を追加すると、うまく機能します。
コード:
configurations{
all*.exclude module:'okhttp'
all*.exclude module:'okio'
all*.exclude module:'gson'
}