Zakaria
04/25/2023, 3:28 PMFAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkBenchmarkDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
> Duplicate class org.koin.core.context.DefaultContextExtKt found in modules jetified-koin-core-coroutines-jvm-3.4.0 (io.insert-koin:koin-core-coroutines-jvm:3.4.0) and jetified-koin-core-jvm-3.4.0 (io.insert-koin:koin-core-jvm:3.4.0)
Go to the documentation to learn how to <a href="<http://d.android.com/r/tools/classpath-sync-errors|d.android.com/r/tools/classpath-sync-errors>">Fix dependency resolution errors</a>.
I use lazyModule when creating my modules. And I think that the problem occurs when I call startKoin.
In my build.gradle, I have:
implementation("io.insert-koin:koin-core:3.4.0")
implementation("io.insert-koin:koin-core-coroutines:3.4.0")
Is there someone that got the same issue when using lazyModules ?arnaud.giuliani
05/09/2023, 3:00 PMZakaria
05/09/2023, 3:11 PMarnaud.giuliani
05/09/2023, 3:11 PMZakaria
05/09/2023, 3:15 PMarnaud.giuliani
05/09/2023, 4:50 PM