-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
api: analyticsapi: crashlyticsneeds-infoNeed information for the developerNeed information for the developerstaleDon't have recent activityDon't have recent activity
Description
Description
Issue Description
I created an empty Unity project and imported FirebaseAnalytics.unitypackage and FirebaseCrashlytics.unitypackage. After running External Dependency Manager > Android Resolver > Resolve, I attempted to build an APK, but encountered the following error:
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
> Duplicate class androidx.datastore.core.Actual_jvmKt found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.AtomicBoolean found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.AtomicInt found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.Closeable found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.CloseableKt found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.CorruptionException found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.CorruptionHandler found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.Data found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataMigration found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataMigrationInitializer found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataMigrationInitializer$Companion found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataMigrationInitializer$Companion$getInitializer$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataMigrationInitializer$Companion$runMigrations$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataMigrationInitializer$Companion$runMigrations$2 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataMigrationInitializer$Companion$runMigrations$2$1$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStore found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreFactory found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$Companion found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$InitDataStore found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$InitDataStore$doRun$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$InitDataStore$doRun$initData$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$InitDataStore$doRun$initData$1$api$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$InitDataStore$doRun$initData$1$api$1$updateData$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$coordinator$2 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$data$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$data$1$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$data$1$2 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$data$1$3 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$data$1$5 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$data$1$invokeSuspend$$inlined$map$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$data$1$invokeSuspend$$inlined$map$1$2 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$data$1$invokeSuspend$$inlined$map$1$2$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$decrementCollector$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$doWithWriteFileLock$3 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$handleUpdate$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$incrementCollector$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$incrementCollector$2$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$incrementCollector$2$1$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$readAndInitOrPropagateAndThrowFailure$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$readDataAndUpdateCache$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$readDataAndUpdateCache$3 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$readDataAndUpdateCache$4 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$readDataOrHandleCorruption$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$readDataOrHandleCorruption$2 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$readDataOrHandleCorruption$3 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$readState$2 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$storageConnectionDelegate$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$transformAndWrite$2 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$transformAndWrite$2$newData$1 found in modules jetified-androidx.datastore.datastore-core-android-1.1.3-runtime (:androidx.datastore.datastore-core-android-1.1.3:) and jetified-androidx.datastore.datastore-core-jvm-1.1.3 (androidx.datastore.datastore-core-jvm-1.1.3.jar)
Duplicate class androidx.datastore.core.DataStoreImpl$updateData$2 found in modules jetif<message truncated>
Reproducing the issue
Steps to Reproduce
- Create a new, empty Unity project.
- Import FirebaseAnalytics.unitypackage and FirebaseCrashlytics.unitypackage.
- Go to External Dependency Manager > Android Resolver > Resolve.
- Build the APK → The error occurs.
Firebase Unity SDK Version
12.10.1
Unity editor version
2022.3.62f1
Installation Method
.unitypackage
Problematic Firebase Component(s)
Analytics
Other Firebase Component(s) in use
Crashlytics
Additional SDKs you are using
None
Targeted Platform(s)
Android
Unity editor platform
Windows
Scripting Runtime
IL2CPP
Release Distribution Type
Pre-built SDK from https://firebase.google.com/download/unity
Relevant Log Output
None
If using CocoaPods for Apple platforms, the project's Podfile.lock
None
Metadata
Metadata
Assignees
Labels
api: analyticsapi: crashlyticsneeds-infoNeed information for the developerNeed information for the developerstaleDon't have recent activityDon't have recent activity