Hello everyone,
so I am developing an AR Android App and I ran into some problems. When I try building the app, I get the following Exceptions. I have to say it worked before, but now I am not able to build it and I am not sure what caused the problems.
Starting a Gradle Daemon, 1 incompatible and 6 stopped Daemons could not be reused, use --status for details
Configure project :launcher
WARNING: The option setting ‘android.enableR8=false’ is deprecated.
It will be removed in version 5.0 of the Android Gradle plugin.
You will no longer be able to disable R8
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
Task :unityLibrary:preBuild UP-TO-DATE
Task :launcher:preBuild UP-TO-DATE
Task :launcher:preReleaseBuild UP-TO-DATE
Task :unityLibrary:preReleaseBuild UP-TO-DATE
Task :unityLibrary:compileReleaseAidl NO-SOURCE
Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:generateReleaseResValues
Task :launcher:generateReleaseBuildConfig
Task :launcher:compileReleaseAidl NO-SOURCE
Task :launcher:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:generateReleaseResources
Task :launcher:generateReleaseResValues
Task :launcher:generateReleaseResources
Task :launcher:createReleaseCompatibleScreenManifests
Task :launcher:extractDeepLinksRelease
Task :launcher:javaPreCompileRelease
Task :launcher:prepareLintJar
Task :unityLibrary:packageReleaseResources
Task :unityLibrary:extractDeepLinksRelease
> Task :launcher:checkReleaseDuplicateClasses FAILED
Task :unityLibrary:processReleaseManifest
Task :launcher:desugarReleaseFileDependencies
12 actionable tasks: 12 executed
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
and:
Execution failed for task ‘:launcher:checkReleaseDuplicateClasses’.
1 exception was raised by workers:
java.lang.RuntimeException: Duplicate class a.a.a found in modules core-1.22.0-runtime.jar (:arcore_client:) and core-1.22.0-runtime.jar (com.google.ar:core:1.22.0)
Duplicate class a.a.b found in modules core-1.22.0-runtime.jar (:arcore_client:) and core-1.22.0-runtime.jar (com.google.ar:core:1.22.0)
Duplicate class b.a.a found in modules core-1.22.0-runtime.jar (:arcore_client:) and core-1.22.0-runtime.jar (com.google.ar:core:1.22.0)
Duplicate class com.google.a.a.a found in modules core-1.22.0-runtime.jar (:arcore_client:) and core-1.22.0-runtime.jar (com.google.ar:core:1.22.0)
Duplicate class com.google.a.a.b found in modules core-1.22.0-runtime.jar (:arcore_client:) and core-1.22.0-runtime.jar (com.google.ar:core:1.22.0)
…and many more like this
thanks for any help