Skip to content

In the latest unity2022.3.62, there is a conflict when packaging with OpenXR #28

@Libing1510

Description

@Libing1510

Building with OpenXR in the latest Unity 2022.3.62 will fail. The following error is reported:

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 android.support.v4.app.RemoteActionCompatParcelizer found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class android.support.v4.graphics.drawable.IconCompatParcelizer found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class android.support.v4.os.ResultReceiver found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class android.support.v4.os.ResultReceiver$1 found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.accessibilityservice.AccessibilityServiceInfoCompat found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.animation.AnimatorKt found in modules jetified-core-ktx-1.13.1-runtime (:core-ktx-1.13.1:) and jetified-core-ktx-1.2.0-runtime (androidx.core:core-ktx:1.2.0)
Duplicate class androidx.core.animation.AnimatorKt$addListener$1 found in modules jetified-core-ktx-1.13.1-runtime (:core-ktx-1.13.1:) and jetified-core-ktx-1.2.0-runtime (androidx.core:core-ktx:1.2.0)
Duplicate class androidx.core.animation.AnimatorKt$addListener$2 found in modules jetified-core-ktx-1.13.1-runtime (:core-ktx-1.13.1:) and jetified-core-ktx-1.2.0-runtime (androidx.core:core-ktx:1.2.0)
Duplicate class androidx.core.animation.AnimatorKt$addListener$3 found in modules jetified-core-ktx-1.13.1-runtime (:core-ktx-1.13.1:) and jetified-core-ktx-1.2.0-runtime (androidx.core:core-ktx:1.2.0)
Duplicate class androidx.core.animation.AnimatorKt$addListener$4 found in modules jetified-core-ktx-1.13.1-runtime (:core-ktx-1.13.1:) and jetified-core-ktx-1.2.0-runtime (androidx.core:core-ktx:1.2.0)
Duplicate class androidx.core.animation.AnimatorKt$addListener$listener$1 found in modules jetified-core-ktx-1.13.1-runtime (:core-ktx-1.13.1:) and jetified-core-ktx-1.2.0-runtime (androidx.core:core-ktx:1.2.0)
Duplicate class androidx.core.animation.AnimatorKt$addPauseListener$1 found in modules jetified-core-ktx-1.13.1-runtime (:core-ktx-1.13.1:) and jetified-core-ktx-1.2.0-runtime (androidx.core:core-ktx:1.2.0)
Duplicate class androidx.core.animation.AnimatorKt$addPauseListener$2 found in modules jetified-core-ktx-1.13.1-runtime (:core-ktx-1.13.1:) and jetified-core-ktx-1.2.0-runtime (androidx.core:core-ktx:1.2.0)
Duplicate class androidx.core.animation.AnimatorKt$addPauseListener$listener$1 found in modules jetified-core-ktx-1.13.1-runtime (:core-ktx-1.13.1:) and jetified-core-ktx-1.2.0-runtime (androidx.core:core-ktx:1.2.0)
Duplicate class androidx.core.app.ActivityCompat found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ActivityCompat$1 found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ActivityCompat$Api30Impl found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ActivityCompat$OnRequestPermissionsResultCallback found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ActivityCompat$PermissionCompatDelegate found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ActivityCompat$RequestPermissionsRequestCodeValidator found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ActivityCompat$SharedElementCallback21Impl found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ActivityManagerCompat found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ActivityOptionsCompat found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ActivityOptionsCompat$ActivityOptionsCompatImpl found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ActivityRecreator found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ActivityRecreator$1 found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ActivityRecreator$2 found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ActivityRecreator$3 found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ActivityRecreator$LifecycleCheckCallbacks found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.AlarmManagerCompat found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.AppComponentFactory found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.AppLaunchChecker found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.AppOpsManagerCompat found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.BundleCompat found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ComponentActivity found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.ComponentActivity$ExtraData found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.CoreComponentFactory found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.CoreComponentFactory$CompatWrapped found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.DialogCompat found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.FrameMetricsAggregator found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.FrameMetricsAggregator$FrameMetricsApi24Impl found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.FrameMetricsAggregator$FrameMetricsApi24Impl$1 found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.FrameMetricsAggregator$FrameMetricsBaseImpl found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.FrameMetricsAggregator$MetricType found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.JobIntentService found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.JobIntentService$CommandProcessor found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.JobIntentService$CompatJobEngine found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.JobIntentService$CompatWorkEnqueuer found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.JobIntentService$CompatWorkItem found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.JobIntentService$GenericWorkItem found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.JobIntentService$JobServiceEngineImpl found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.JobIntentService$JobServiceEngineImpl$WrapperWorkItem found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.JobIntentService$JobWorkEnqueuer found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.JobIntentService$WorkEnqueuer found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NavUtils found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationBuilderWithBuilderAccessor found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationChannelCompat found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationChannelCompat$Builder found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationChannelGroupCompat found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationChannelGroupCompat$Builder found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$1 found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$Action found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$Action$Builder found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$Action$Extender found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$Action$SemanticAction found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$Action$WearableExtender found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$BadgeIconType found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$BigPictureStyle found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$BigPictureStyle$Api23Impl found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$BigTextStyle found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$BubbleMetadata found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$BubbleMetadata$Api29Impl found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$BubbleMetadata$Api30Impl found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$BubbleMetadata$Builder found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$Builder found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$CarExtender found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$CarExtender$UnreadConversation found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$CarExtender$UnreadConversation$Builder found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.NotificationCompat$DecoratedCustomViewStyle found in modules core-1.5.0-rc01-runtime (androidx.core:core:1.5.0-rc01) and jetified-core-1.13.1-runtime (:core-1.13.1:)
Duplicate class androidx.core.app.Notificatio

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions