Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Gradle Issue

Discussion in 'General Discussion' started by haseebraza5, Aug 27, 2023.

  1. haseebraza5

    haseebraza5

    Joined:
    Jan 24, 2022
    Posts:
    1
    Hi I am using unity 2022.3.8 and facing this issue
    Any help will be really appreciated
    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.customtabs.ICustomTabsCallback found in modules browser-1.2.0-runtime (androidx.browser:browser:1.2.0) and jetified-androidx.browser.browser-1.4.0-runtime :)androidx.browser.browser-1.4.0:)
    Duplicate class android.support.customtabs.ICustomTabsCallback$Stub found in modules browser-1.2.0-runtime (androidx.browser:browser:1.2.0) and jetified-androidx.browser.browser-1.4.0-runtime :)androidx.browser.browser-1.4.0:)
    Duplicate class android.support.customtabs.ICustomTabsCallback$Stub$Proxy found in modules browser-1.2.0-runtime (androidx.browser:browser:1.2.0) and jetified-androidx.browser.browser-1.4.0-runtime :)androidx.browser.browser-1.4.0:)
    Duplicate class android.support.customtabs.ICustomTabsService found in modules browser-1.2.0-runtime (androidx.browser:browser:1.2.0) and jetified-androidx.browser.browser-1.4.0-runtime :)androidx.browser.browser-1.4.0:)
    Duplicate class android.support.customtabs.ICustomTabsService$Stub found in modules browser-1.2.0-runtime (androidx.browser:browser:1.2.0) and jetified-androidx.browser.browser-1.4.0-runtime :)androidx.browser.browser-1.4.0:)
    Duplicate class android.support.customtabs.ICustomTabsService$Stub$Proxy found in modules browser-1.2.0-runtime (androidx.browser:browser:1.2.0) and jetified-androidx.browser.browser-1.4.0-runtime :)androidx.browser.browser-1.4.0:)
    Duplicate class android.support.customtabs.IPostMessageService found in modules browser-1.2.0-runtime (androidx.browser:browser:1.2.0) and jetified-androidx.browser.browser-1.4.0-runtime :)androidx.browser.browser-1.4.0:)
    Duplicate class android.support.customtabs.IPostMessageService$Stub found in modules browser-1.2.0-runtime (androidx.browser:browser:1.2.0) and jetified-androidx.browser.browser-1.4.0-runtime :)androidx.browser.browser-1.4.0:)
    Duplicate class android.support.customtabs.IPostMessageService$Stub$Proxy found in modules browser-1.2.0-runtime (androidx.browser:browser:1.2.0) and jetified-androidx.browser.browser-1.4.0-runtime :)androidx.browser.browser-1.4.0:)
    Duplicate class android.support.customtabs.trusted.ITrustedWebActivityService found in modules browser-1.2.0-runtime (androidx.browser:browser:1.2.0) and jetified-androidx.browser.browser-1.4.0-runtime :)androidx.browser.browser-1.4.0:)
    Duplicate class android.support.customtabs.trusted.ITrustedWebActivityService$Stub found in modules browser-1.2.0-runtime (androidx.browser:browser:1.2.0) and jetified-androidx.browser.browser-1.4.0-runtime :)androidx.browser.browser-1.4.0:)
    Duplicate class android.support.customtabs.trusted.ITrustedWebActivityService$Stub$Proxy found in modules browser-1.2.0-runtime (androidx.browser:browser:1.2.0) and jetified-androidx.browser.browser-1.4.0-runtime :)androidx.browser.browser-1.4.0:)
    Duplicate class android.support.v4.app.RemoteActionCompatParcelizer found in modules core-1.1.0-runtime (androidx.core:core:1.1.0) and jetified-androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:)
    Duplicate class android.support.v4.graphics.drawable.IconCompatParcelizer found in modules core-1.1.0-runtime (androidx.core:core:1.1.0) and jetified-androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:)
    Duplicate class android.support.v4.os.ResultReceiver found in modules core-1.1.0-runtime (androidx.core:core:1.1.0) and jetified-androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:)
    Duplicate class android.support.v4.os.ResultReceiver$1 found in modules core-1.1.0-runtime (androidx.core:core:1.1.0) and jetified-androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:)
    Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules core-1.1.0-runtime (androidx.core:core:1.1.0) and jetified-androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:)
    Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules core-1.1.0-runtime (androidx.core:core:1.1.0) and jetified-androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:)
    Duplicate class androidx.annotation.AnimRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.AnimatorRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.AnyRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.AnyThread found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.ArrayRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.AttrRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.BinderThread found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.BoolRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.CallSuper found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.CheckResult found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.ColorInt found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.ColorLong found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.ColorRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.ContentView found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.DimenRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.Dimension found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.DrawableRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.FloatRange found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.FontRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.FractionRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.GuardedBy found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.HalfFloat found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.IdRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.InspectableProperty found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.InspectableProperty$EnumEntry found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.InspectableProperty$FlagEntry found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.InspectableProperty$ValueType found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.IntDef found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.IntRange found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.IntegerRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.InterpolatorRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.Keep found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.LayoutRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.LongDef found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.MainThread found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.MenuRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.NavigationRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.NonNull found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.Nullable found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.PluralsRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.Px found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.RawRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.RequiresApi found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.RequiresFeature found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.RequiresPermission found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.RequiresPermission$Read found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.RequiresPermission$Write found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.RestrictTo found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.RestrictTo$Scope found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.Size found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.StringDef found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.StringRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.StyleRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.StyleableRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.0) and jetified-androidx.annotation.annotation-1.3.0 (androidx.annotation.annotation-1.3.0.jar)
    Duplicate class androidx.annotation.TransitionRes found in modules annotation-1.1.0 (androidx.annotation:annotation:1.1.<message truncated>
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,556
    We are not mind readers.
    Please provide more details, and how to reproduce the issue.