Hi all,
suddenly my build is not working anymore.
When I delete the Ads Mediation (source: package manager) and IronSource Ad Quality (source: Unity Package, see https://developers.is.com/ironsource-mobile/unity/sdk-integration-guides/) packages, the build works.
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
FAILURE: Build 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 android.support.v4.app.INotificationSideChannel found in modules androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:) and core-1.5.0-runtime (androidx.core:core:1.5.0)
Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:) and core-1.5.0-runtime (androidx.core:core:1.5.0)
Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:) and core-1.5.0-runtime (androidx.core:core:1.5.0)
Duplicate class android.support.v4.app.RemoteActionCompatParcelizer found in modules androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:) and core-1.5.0-runtime (androidx.core:core:1.5.0)
Duplicate class android.support.v4.graphics.drawable.IconCompatParcelizer found in modules androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:) and core-1.5.0-runtime (androidx.core:core:1.5.0)
Duplicate class android.support.v4.os.IResultReceiver found in modules androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:) and core-1.5.0-runtime (androidx.core:core:1.5.0)
Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:) and core-1.5.0-runtime (androidx.core:core:1.5.0)
Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:) and core-1.5.0-runtime (androidx.core:core:1.5.0)
Duplicate class android.support.v4.os.ResultReceiver found in modules androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:) and core-1.5.0-runtime (androidx.core:core:1.5.0)
Duplicate class android.support.v4.os.ResultReceiver$1 found in modules androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:) and core-1.5.0-runtime (androidx.core:core:1.5.0)
Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:) and core-1.5.0-runtime (androidx.core:core:1.5.0)
Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:) and core-1.5.0-runtime (androidx.core:core:1.5.0)
Duplicate class androidx.annotation.AnimRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.AnimatorRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.AnyRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.AnyThread found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.ArrayRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.AttrRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.BinderThread found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.BoolRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.CallSuper found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.CheckResult found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.ColorInt found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.ColorLong found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.ColorRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.ContentView found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.DimenRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.Dimension found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.DrawableRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.FloatRange found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.FontRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.FractionRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.GuardedBy found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.HalfFloat found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.IdRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.InspectableProperty found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.InspectableProperty$EnumEntry found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.InspectableProperty$FlagEntry found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.InspectableProperty$ValueType found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.IntDef found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.IntRange found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.IntegerRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.InterpolatorRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.Keep found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.LayoutRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.LongDef found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.MainThread found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.MenuRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.NavigationRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.NonNull found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.Nullable found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.PluralsRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.Px found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.RawRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.RequiresApi found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.RequiresFeature found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.RequiresPermission found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.RequiresPermission$Read found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.RequiresPermission$Write found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.RestrictTo found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.RestrictTo$Scope found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.Size found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.StringDef found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.StringRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.StyleRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.StyleableRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.TransitionRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.UiThread found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.VisibleForTesting found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.WorkerThread found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.annotation.XmlRes found in modules androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar) and annotation-1.3.0 (androidx.annotation:annotation:1.3.0)
Duplicate class androidx.arch.core.executor.ArchTaskExecutor found in modules androidx.arch.core.core-runtime-2.0.0-runtime (:androidx.arch.core.core-runtime-2.0.0:) and core-runtime-2.1.0-runtime (androidx.arch.core:core-runtime:2.1.0)
Duplicate class androidx.arch.core.executor.ArchTaskExecutor$1 found in modules androidx.arch.core.core-runtime-2.0.0-runtime (:androidx.arch.core.core-runtime-2.0.0:) and core-runtime-2.1.0-runtime (androidx.arch.core:core-runtime:2.1.0)
Duplicate class androidx.arch.core.executor.ArchTaskExecutor$2 found in modules androidx.arch.core.core-runtime-2.0.0-runtime (:androidx.arch.core.core-runtime-2.0.0:) and core-runtime-2.1.0-runtime (androidx.arch.core:core-runtime:2.1.0)
Duplicate class androidx.arch.core.executor.DefaultTaskExecutor found in modules androidx.arch.core.core-runtime-2.0.0-runtime (:androidx.arch.core.core-runtime-2.0.0:) and core-runtime-2.1.0-runtime (androidx.arch.core:core-runtime:2.1.0)
Duplicate class androidx.arch.core.executor.DefaultTaskExecutor$1 found in modules androidx.arch.core.core-runtime-2.0.0-runtime (:androidx.arch.core.core-runtime-2.0.0:) and core-runtime-2.1.0-runtime (androidx.arch.core:core-runtime:2.1.0)
Duplicate class androidx.ar<message truncated>
When I do āAssets > External Dependency Manager > Android Resolver > Delete resolved Librariesā the build works once, but then I get the following error on start: java.lang.NoClassDefFoundError. Failed reoslution of: Lcom/ironsource/mediationsdk/InitializationListener;
Regarding my publishing settings, I am currently using no manual configs / manifests:
Unity Version: 2022.3.20f1
I am in despair with my project⦠any help would be much appreciated!
Cheers
