I am Facing a FAILURE to build Android after I have added the Firebase 9.1.0 package into Unity 2023.2.20 LTS

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.RemoteActionCompatParcelizer found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and jetified-androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:)
Duplicate class android.support.v4.graphics.drawable.IconCompatParcelizer found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and jetified-androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:)
Duplicate class android.support.v4.os.ResultReceiver found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and jetified-androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:)
Duplicate class android.support.v4.os.ResultReceiver$1 found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and jetified-androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:)
Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and jetified-androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:)
Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules core-1.9.0-runtime (androidx.core:core:1.9.0) and jetified-androidx.core.core-1.2.0-runtime (:androidx.core.core-1.2.0:)
Duplicate class androidx.annotation.AnimRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.AnimatorRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.AnyRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.AnyThread found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.ArrayRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.AttrRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.BinderThread found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.BoolRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.CallSuper found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.CheckResult found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.ColorInt found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.ColorLong found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.ColorRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.ContentView found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.DimenRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.Dimension found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.DrawableRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.FloatRange found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.FontRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.FractionRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.GuardedBy found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.HalfFloat found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.IdRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.InspectableProperty found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.InspectableProperty$EnumEntry found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.InspectableProperty$FlagEntry found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.InspectableProperty$ValueType found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.IntDef found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.IntRange found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.IntegerRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.InterpolatorRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.Keep found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.LayoutRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.LongDef found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.MainThread found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.MenuRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.NavigationRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.NonNull found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.Nullable found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.PluralsRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.Px found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.RawRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.RequiresApi found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.RequiresFeature found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.RequiresPermission found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.RequiresPermission$Read found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.RequiresPermission$Write found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.RestrictTo found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.RestrictTo$Scope found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.Size found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.StringDef found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.StringRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.StyleRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.StyleableRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.TransitionRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.UiThread found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.VisibleForTesting found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.WorkerThread found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.annotation.XmlRes found in modules annotation-1.3.0 (androidx.annotation:annotation:1.3.0) and jetified-androidx.annotation.annotation-1.1.0 (androidx.annotation.annotation-1.1.0.jar)
Duplicate class androidx.arch.core.executor.ArchTaskExecutor found in modules core-runtime-2.1.0-runtime (androidx.arch.core:core-runtime:2.1.0) and jetified-androidx.arch.core.core-runtime-2.0.0-runtime (:androidx.arch.core.core-runtime-2.0.0:)
Duplicate class androidx.arch.core.executor.ArchTaskExecutor$1 found in modules core-runtime-2.1.0-runtime (androidx.arch.core:core-runtime:2.1.0) and jetified-androidx.arch.core.core-runtime-2.0.0-runtime (:androidx.arch.core.core-runtime-2.0.0:)
Duplicate class androidx.arch.core.executor.ArchTaskExecutor$2 found in modules core-runtime-2.1.0-runtime (androidx.arch.core:core-runtime:2.1.0) and jetified-androidx.arch.core.core-runtime-2.0.0-runtime (:androidx.arch.core.core-runtime-2.0.0:)
Duplicate class androidx.arch.core.executor.DefaultTaskExecutor found in modules core-runtime-2.1.0-runtime (androidx.arch.core:core-runtime:2.1.0) and jetified-androidx.arch.core.core-runtime-2.0.0-runtime (:androidx.arch.core.core-runtime-2.0.0:)
Duplicate class androidx.arch.core.executor.DefaultTaskExecutor$1 found in modules core-runtime-2.1.0-runtime (androidx.arch.core:core-runtime:2.1.0) and jetified-androidx.arch.core.core-runtime-2.0.0-runtime (:androidx.arch.core.core-runtime-2.0.0:)
Duplicate class androidx.arch.core.executor.TaskExecutor found in modules core-runtime-2.1.0-runtime (androidx.arch.core:core-runtime:2.1.0) and jetified-androidx.arch.core.core-runtime-2.0.0-runtime (:androidx.arch.core.core-runtime-2.0.0:)
Duplicate class androidx.arch.core.internal.FastSafeIterableMap found in modules core-common-2.1.0 (androidx.arch.core:core-common:2.1.0) and jetified-androidx.arch.core.core-common-2.0 (androidx.arch.core.core-common-2.0.0.jar)
Duplicate class androidx.arch.core.internal.SafeIterableMap found in modules core-common-2.1.0 (androidx.arch.core:core-common:2.1.0) and jetified-androidx.a