-
Notifications
You must be signed in to change notification settings - Fork 631
Description
// Import the BoM for the Firebase platform
implementation(platform("com.google.firebase:firebase-bom:33.16.0"))
//
// // Add the dependencies for the Crashlytics NDK and Analytics libraries
// // When using the BoM, you don't specify versions in Firebase library dependencies
implementation("com.google.firebase:firebase-crashlytics-ndk")
implementation("com.google.firebase:firebase-analytics")
E FATAL EXCEPTION: Firebase Background Thread #2 (Ask Gemini)
Process: , PID: 24678
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/datastore/preferences/PreferenceDataStoreFile;
at com.google.firebase.sessions.FirebaseSessionsComponent$MainModule$Companion$sessionConfigsDataStore$2.invoke(FirebaseSessionsComponent.kt:145)
at com.google.firebase.sessions.FirebaseSessionsComponent$MainModule$Companion$sessionConfigsDataStore$2.invoke(FirebaseSessionsComponent.kt:138)
at androidx.datastore.preferences.core.PreferenceDataStoreFactory$create$delegate$1.invoke(PreferenceDataStoreFactory.jvm.kt:66)
at androidx.datastore.preferences.core.PreferenceDataStoreFactory$create$delegate$1.invoke(PreferenceDataStoreFactory.jvm.kt:64)
at androidx.datastore.core.okio.OkioStorage$canonicalPath$2.invoke(OkioStorage.kt:54)
at androidx.datastore.core.okio.OkioStorage$canonicalPath$2.invoke(OkioStorage.kt:53)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:83)
at androidx.datastore.core.okio.OkioStorage.getCanonicalPath(OkioStorage.kt:53)
at androidx.datastore.core.okio.OkioStorage.createConnection(OkioStorage.kt:63)
at androidx.datastore.core.DataStoreImpl$storageConnectionDelegate$1.invoke(DataStoreImpl.kt:181)
at androidx.datastore.core.DataStoreImpl$storageConnectionDelegate$1.invoke(DataStoreImpl.kt:180)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:83)
at androidx.datastore.core.DataStoreImpl.getStorageConnection$datastore_core(DataStoreImpl.kt:183)
at androidx.datastore.core.DataStoreImpl$coordinator$2.invoke(DataStoreImpl.kt:184)
at androidx.datastore.core.DataStoreImpl$coordinator$2.invoke(DataStoreImpl.kt:184)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:83)
at androidx.datastore.core.DataStoreImpl.getCoordinator(DataStoreImpl.kt:184)
at androidx.datastore.core.DataStoreImpl.readAndInitOrPropagateAndThrowFailure(DataStoreImpl.kt:264)
at androidx.datastore.core.DataStoreImpl.access$readAndInitOrPropagateAndThrowFailure(DataStoreImpl.kt:48)
at androidx.datastore.core.DataStoreImpl$readState$2.invokeSuspend(DataStoreImpl.kt:218)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@79ec8c1, com.google.firebase.concurrent.DelegatingScheduledExecutorService@60c7866]