I am using firebase bom v33.1.1 for following dependencies:
implementation platform('com.google.firebase:firebase-bom:33.1.1')
implementation 'com.google.firebase:firebase-crashlytics-ktx'
implementation 'com.google.firebase:firebase-analytics-ktx'
implementation 'com.google.firebase:firebase-messaging-ktx'
implementation 'com.google.firebase:firebase-dynamic-links-ktx'
implementation 'com.google.firebase:firebase-config-ktx'
Android Studio - Koala, Gradle version - 8.5.5
I am facing issues in generating signed app bundle. It gives following error:
Unable to find method ''com.google.common.collect.ImmutableMap com.google.common.collect.ImmutableMap$Builder.buildOrThrow()''
'com.google.common.collect.ImmutableMap com.google.common.collect.ImmutableMap$Builder.buildOrThrow()'
On running gradle dependencies, it shows firebase-crashlytics-ktx -> firebase-analytics-ktx is using com.google.guava:guava:31.1-android
Below is dependency tree snippet:
+--- com.google.firebase:firebase-crashlytics-ktx -> 19.0.2
| +--- com.google.firebase:firebase-crashlytics:19.0.2
| | +--- com.google.firebase:firebase-sessions:2.0.2
| | | +--- com.google.firebase:firebase-common:21.0.0
| | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.6.4 -> 1.7.3
| | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3 (*)
| | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.7.3 (*)
| | | | | +--- com.google.android.gms:play-services-tasks:16.0.1 -> 18.2.0 (*)
| | | | | \--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.20 -> 1.9.20 (*)
| | | | +--- com.google.firebase:firebase-components:18.0.0
| | | | | +--- com.google.firebase:firebase-annotations:16.2.0
| | | | | | \--- javax.inject:javax.inject:1
| | | | | +--- androidx.annotation:annotation:1.5.0 -> 1.8.0 (*)
| | | | | \--- com.google.errorprone:error_prone_annotations:2.26.0
| | | | +--- com.google.firebase:firebase-annotations:16.2.0 (*)
| | | | +--- androidx.annotation:annotation:1.5.0 -> 1.8.0 (*)
| | | | +--- androidx.concurrent:concurrent-futures:1.1.0 (*)
| | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.22 -> 1.9.20 (*)
| | | | +--- com.google.android.gms:play-services-basement:18.3.0 -> 18.4.0 (*)
| | | | \--- com.google.android.gms:play-services-tasks:18.1.0 -> 18.2.0 (*)
| | | +--- com.google.firebase:firebase-common-ktx:21.0.0
| | | | +--- com.google.firebase:firebase-common:21.0.0 (*)
| | | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22 -> 1.9.20 (*)
| | | | +--- com.google.firebase:firebase-components:18.0.0 (*)
| | | | \--- com.google.firebase:firebase-annotations:16.2.0 (*)
| | | +--- com.google.firebase:firebase-components:18.0.0 (*)
| | | +--- com.google.firebase:firebase-installations-interop:17.1.1
| | | | +--- com.google.android.gms:play-services-tasks:18.0.1 -> 18.2.0 (*)
| | | | \--- com.google.firebase:firebase-annotations:16.2.0 (*)
| | | +--- com.google.firebase:firebase-annotations:16.2.0 (*)
| | | +--- com.google.firebase:firebase-encoders:17.0.0
| | | | \--- androidx.annotation:annotation:1.1.0 -> 1.8.0 (*)
| | | +--- com.google.firebase:firebase-encoders-json:18.0.1
| | | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10 -> 1.9.20 (*)
| | | | +--- androidx.annotation:annotation:1.1.0 -> 1.8.0 (*)
| | | | \--- com.google.firebase:firebase-encoders:17.0.0 (*)
| | | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22 -> 1.9.20 (*)
| | | +--- com.google.firebase:firebase-installations:17.2.0 -> 18.0.0
| | | | +--- com.google.android.gms:play-services-tasks:18.0.1 -> 18.2.0 (*)
| | | | +--- com.google.firebase:firebase-annotations:16.2.0 (*)
| | | | +--- com.google.firebase:firebase-common:21.0.0 (*)
| | | | +--- com.google.firebase:firebase-common-ktx:21.0.0 (*)
| | | | +--- com.google.firebase:firebase-components:18.0.0 (*)
| | | | +--- com.google.firebase:firebase-installations-interop:17.1.1 (*)
| | | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.8.22 -> 1.9.20 (*)
| | | +--- com.google.firebase:firebase-datatransport:18.1.8 -> 18.2.0
| | | | +--- com.google.android.datatransport:transport-api:3.0.0 -> 3.1.0
| | | | | \--- androidx.annotation:annotation:1.1.0 -> 1.8.0 (*)
| | | | +--- com.google.android.datatransport:transport-runtime:3.1.9
| | | | | +--- com.google.android.datatransport:transport-api:3.0.0 -> 3.1.0 (*)
| | | | | +--- androidx.annotation:annotation:1.3.0 -> 1.8.0 (*)
| | | | | +--- javax.inject:javax.inject:1
| | | | | +--- com.google.firebase:firebase-encoders:17.0.0 (*)
| | | | | \--- com.google.firebase:firebase-encoders-proto:16.0.0
| | | | | +--- androidx.annotation:annotation:1.1.0 -> 1.8.0 (*)
| | | | | \--- com.google.firebase:firebase-encoders:17.0.0 (*)
| | | | +--- com.google.android.datatransport:transport-backend-cct:3.1.9
| | | | | +--- com.google.android.datatransport:transport-api:3.0.0 -> 3.1.0 (*)
| | | | | +--- com.google.android.datatransport:transport-runtime:3.1.8 -> 3.1.9 (*)
| | | | | +--- com.google.firebase:firebase-encoders:17.0.0 (*)
| | | | | +--- com.google.firebase:firebase-encoders-json:18.0.0 -> 18.0.1 (*)
| | | | | \--- androidx.annotation:annotation:1.1.0 -> 1.8.0 (*)
| | | | \--- androidx.annotation:annotation:1.1.0 -> 1.8.0 (*)
| | | +--- androidx.datastore:datastore-preferences:1.0.0
| | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.5.10 -> 1.9.20 (*)
| | | | +--- androidx.datastore:datastore:1.0.0
| | | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.5.10 -> 1.9.20 (*)
| | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0 -> 1.7.3 (*)
| | | | | +--- androidx.annotation:annotation:1.2.0 -> 1.8.0 (*)
| | | | | \--- androidx.datastore:datastore-core:1.0.0
| | | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.5.10 -> 1.9.20 (*)
| | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0 -> 1.7.3 (*)
| | | | | \--- androidx.annotation:annotation:1.1.0 -> 1.8.0 (*)
| | | | \--- androidx.datastore:datastore-preferences-core:1.0.0
| | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.5.10 -> 1.9.20 (*)
| | | | \--- androidx.datastore:datastore-core:1.0.0 (*)
| | | +--- com.google.android.datatransport:transport-api:3.0.0 -> 3.1.0 (*)
| | | \--- androidx.annotation:annotation:1.5.0 -> 1.8.0 (*)
| | +--- com.google.android.gms:play-services-tasks:18.0.1 -> 18.2.0 (*)
| | +--- com.google.firebase:firebase-annotations:16.2.0 (*)
| | +--- com.google.firebase:firebase-common:21.0.0 (*)
| | +--- com.google.firebase:firebase-common-ktx:21.0.0 (*)
| | +--- com.google.firebase:firebase-components:18.0.0 (*)
| | +--- com.google.firebase:firebase-config-interop:16.0.0 -> 16.0.1
| | | +--- com.google.firebase:firebase-encoders-json:18.0.1 (*)
| | | \--- com.google.firebase:firebase-encoders:17.0.0 (*)
| | +--- com.google.firebase:firebase-encoders:17.0.0 (*)
| | +--- com.google.firebase:firebase-encoders-json:18.0.0 -> 18.0.1 (*)
| | +--- com.google.firebase:firebase-installations:17.2.0 -> 18.0.0 (*)
| | +--- com.google.firebase:firebase-installations-interop:17.1.0 -> 17.1.1 (*)
| | +--- com.google.firebase:firebase-measurement-connector:20.0.1
| | | +--- com.google.android.gms:play-services-basement:18.0.0 -> 18.4.0 (*)
| | | \--- com.google.firebase:firebase-annotations:16.0.0 -> 16.2.0 (*)
| | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22 -> 1.9.20 (*)
| | +--- com.google.android.datatransport:transport-api:3.0.0 -> 3.1.0 (*)
| | +--- com.google.android.datatransport:transport-backend-cct:3.1.9 (*)
| | +--- com.google.android.datatransport:transport-runtime:3.1.9 (*)
| | \--- androidx.annotation:annotation:1.5.0 -> 1.8.0 (*)
| +--- com.google.firebase:firebase-common:21.0.0 (*)
| +--- com.google.firebase:firebase-common-ktx:21.0.0 (*)
| +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22 -> 1.9.20 (*)
| \--- com.google.firebase:firebase-components:18.0.0 (*)
+--- com.google.firebase:firebase-analytics-ktx -> 22.0.2
| +--- com.google.firebase:firebase-analytics:22.0.2
| | +--- com.google.android.gms:play-services-measurement:22.0.2
| | | +--- androidx.collection:collection:1.0.0 -> 1.4.0 (*)
| | | +--- androidx.legacy:legacy-support-core-utils:1.0.0 (*)
| | | +--- com.google.android.gms:play-services-ads-identifier:18.0.0
| | | | \--- com.google.android.gms:play-services-basement:18.0.0 -> 18.4.0 (*)
| | | +--- com.google.android.gms:play-services-basement:18.4.0 (*)
| | | +--- com.google.android.gms:play-services-measurement-base:22.0.2
| | | | \--- com.google.android.gms:play-services-basement:18.4.0 (*)
| | | +--- com.google.android.gms:play-services-measurement-impl:22.0.2
| | | | +--- androidx.collection:collection:1.0.0 -> 1.4.0 (*)
| | | | +--- androidx.core:core:1.9.0 -> 1.13.0 (*)
| | | | +--- androidx.privacysandbox.ads:ads-adservices:1.0.0-beta05
| | | | | +--- androidx.annotation:annotation:1.6.0 -> 1.8.0 (*)
| | | | | +--- androidx.core:core-ktx:1.8.0 -> 1.13.0 (*)
| | | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.21 -> 1.9.20 (*)
| | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1 -> 1.7.3 (*)
| | | | | \--- androidx.privacysandbox.ads:ads-adservices-java:1.0.0-beta05 (c)
| | | | +--- androidx.privacysandbox.ads:ads-adservices-java:1.0.0-beta05
| | | | | +--- androidx.annotation:annotation:1.2.0 -> 1.8.0 (*)
| | | | | +--- androidx.concurrent:concurrent-futures:1.1.0 (*)
| | | | | +--- androidx.core:core-ktx:1.8.0 -> 1.13.0 (*)
| | | | | +--- androidx.privacysandbox.ads:ads-adservices:1.0.0-beta05 (*)
| | | | | +--- com.google.guava:guava:31.1-android
| | | | | | +--- com.google.guava:failureaccess:1.0.1
| | | | | | +--- com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
| | | | | | +--- com.google.code.findbugs:jsr305:3.0.2
| | | | | | +--- org.checkerframework:checker-qual:3.12.0
| | | | | | +--- com.google.errorprone:error_prone_annotations:2.11.0 -> 2.26.0
| | | | | | \--- com.google.j2objc:j2objc-annotations:1.3
| | | | | +--- com.google.guava:listenablefuture:1.0 -> 9999.0-empty-to-avoid-conflict-with-guava
| | | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.21 -> 1.9.20 (*)
| | | | | +--- org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1 -> 1.7.3 (*)
| | | | | \--- androidx.privacysandbox.ads:ads-adservices:1.0.0-beta05 (c)
How to resolve this issue?
This message (including any attachment(s) hereto) is confidential and may also be privileged. It is intended solely for the addressee. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this message in error you are requested to delete it from your system and contact the sender by replying to this message immediately. Indifi Technologies Private Limited is not liable for the improper transmission of this message nor for any damage sustained as a result of this message.