You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I enabled it for AR Foundation V5 using "ARCORE_USE_ARF_5" in Player Settings.
I enabled Geospatial in Player Settings.
Build now fails.
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 support-compat-25.1.0-runtime (:support-compat-25.1.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 support-compat-25.1.0-runtime (:support-compat-25.1.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 support-compat-25.1.0-runtime (:support-compat-25.1.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 support-compat-25.1.0-runtime (:support-compat-25.1.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 support-compat-25.1.0-runtime (:support-compat-25.1.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 support-compat-25.1.0-runtime (:support-compat-25.1.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 support-compat-25.1.0-runtime (:support-compat-25.1.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 support-compat-25.1.0-runtime (:support-compat-25.1.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 support-compat-25.1.0-runtime (:support-compat-25.1.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 support-compat-25.1.0-runtime (:support-compat-25.1.0:)
Edit:
I've also tried removing ARCore, ARKit and AR Foundation from the package manager before installing.
I'm suspecting it has to do with how it resolves the Android dependencies, because if I remove resolved libraries, it builds but the camera no longer works in the app.
The text was updated successfully, but these errors were encountered:
I can now confirm that it appears to work to build in 2022.3.26f1 (LTS). This means that it's an issue related to later versions, in Unity 2023.2.X.
Jocke155
changed the title
checkReleaseDuplicateClasses fails when building after adding Geospatial
checkReleaseDuplicateClasses fails in Unity 2023.2.X
Apr 29, 2024
Versions:
Unity 2023.2.19f1, 2023.2.20f1
ARCore Extensions: 1.42.0
AR Foundation: 5.1.3
AR Core: 5.1.3
Reproduce:
Build now fails.
What went wrong:
Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
Edit:
I've also tried removing ARCore, ARKit and AR Foundation from the package manager before installing.
I'm suspecting it has to do with how it resolves the Android dependencies, because if I remove resolved libraries, it builds but the camera no longer works in the app.
The text was updated successfully, but these errors were encountered: