[게임개발을 위한 필수작업] After applying Google Mobile Ads Unity Plugin v8.7.0 to my unity project, builds fails(유니티 에드몹 에러 조치 방법)

 Before applying Google Mobile Ads Unity Plugin v8.7.0 to my unity project, it succeeds as below.



 

Now, I will download googleMobileAds and I will drag it under Asset. It asks if I import googleMobileAds(v8.7.0). 




Click "import"


So imports starts as it shows above.


And it keeps importing necessary stuffs as above.


NO ERRORS during the importing process of googleMobileAds as log shows above.

Now, I do builds in unity with googleMobileAds in the editor.

Now see the below. I did not do anything except locating googleMobileAds under asset. And as soon as I build it, it throws a message which is saying "Too many errors" as below.


Now, I check as the error message says and console says as below.

There are four errors now.

The 1st one is :

> Task :launcher:preBuild UP-TO-DATE
> Task :unityLibrary:preBuild UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preBuild UP-TO-DATE
> Task :launcher:preReleaseBuild UP-TO-DATE
> Task :unityLibrary:preReleaseBuild UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preReleaseBuild UP-TO-DATE
> Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
> Task :UnityDataAssetPack:generateAssetPackManifest UP-TO-DATE
> Task :launcher:generateReleaseResValues UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseRenderscript NO-SOURCE
> Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseRenderscript NO-SOURCE
> Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
> Task :unityLibrary:generateReleaseResValues UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResValues UP-TO-DATE
> Task :unityLibrary:generateReleaseResources UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResources UP-TO-DATE
> Task :unityLibrary:packageReleaseResources UP-TO-DATE
> Task :unityLibrary:extractDeepLinksRelease UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseResources UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:extractDeepLinksRelease UP-TO-DATE
> Task :unityLibrary:processReleaseManifest UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseManifest UP-TO-DATE
> Task :unityLibrary:compileReleaseLibraryResources UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseLibraryResources UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseShaders UP-TO-DATE
> Task :unityLibrary:mergeReleaseShaders UP-TO-DATE
> Task :launcher:processReleaseAssetPackManifests UP-TO-DATE
> Task :unityLibrary:compileReleaseShaders NO-SOURCE
> Task :launcher:linkReleaseManifestForAssetPacks UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseShaders NO-SOURCE
> Task :unityLibrary:generateReleaseAssets UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseAssets UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseAssets UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseAidl NO-SOURCE
> Task :launcher:compileReleaseRenderscript NO-SOURCE
> Task :launcher:generateReleaseResources UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:parseReleaseLocalResources UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseRFile UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseBuildConfig UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:javaPreCompileRelease UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseJavaWithJavac UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibCompileToJarRelease UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseGeneratedProguardFiles UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:exportReleaseConsumerProguardFiles UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:writeReleaseAarMetadata UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseJavaRes NO-SOURCE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibResRelease NO-SOURCE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibRuntimeToJarRelease UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseJniLibFolders UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseNativeLibs NO-SOURCE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:copyReleaseJniLibsProjectOnly UP-TO-DATE
> Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:prepareReleaseArtProfile UP-TO-DATE
> Task :unityLibrary:packageReleaseAssets
> Task :unityLibrary:compileReleaseAidl NO-SOURCE
> Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE
> Task :unityLibrary:parseReleaseLocalResources UP-TO-DATE
> Task :unityLibrary:javaPreCompileRelease UP-TO-DATE
> Task :unityLibrary:writeReleaseAarMetadata UP-TO-DATE
> Task :unityLibrary:processReleaseJavaRes UP-TO-DATE
> Task :unityLibrary:bundleLibResRelease UP-TO-DATE
> Task :unityLibrary:generateReleaseRFile
> Task :unityLibrary:mergeReleaseJniLibFolders
> Task :unityLibrary:prepareReleaseArtProfile UP-TO-DATE
> Task :unityLibrary:mergeReleaseNativeLibs
> Task :launcher:extractDeepLinksRelease UP-TO-DATE
> Task :launcher:assetPackReleasePreBundleTask

> Task :launcher:processReleaseMainManifest
[:androidx.interpolator.interpolator-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\c156797fd539de38c34d80dc52651962\transformed\androidx.interpolator.interpolator-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.interpolator' used in: :androidx.interpolator.interpolator-1.0.0:, androidx.interpolator:interpolator:1.0.0.
[:androidx.loader.loader-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\5ad5b000b0a1195f11fc08b6f9479d5b\transformed\androidx.loader.loader-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.loader' used in: :androidx.loader.loader-1.0.0:, androidx.loader:loader:1.0.0.
[:androidx.drawerlayout.drawerlayout-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\ca2fbaeaa010157532796ae2e5b0863a\transformed\androidx.drawerlayout.drawerlayout-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.drawerlayout' used in: :androidx.drawerlayout.drawerlayout-1.0.0:, androidx.drawerlayout:drawerlayout:1.0.0.
[:androidx.documentfile.documentfile-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\4a9a823681c1b055e0a89bfe9ef4702b\transformed\androidx.documentfile.documentfile-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.documentfile' used in: :androidx.documentfile.documentfile-1.0.0:, androidx.documentfile:documentfile:1.0.0.
[:androidx.slidingpanelayout.slidingpanelayout-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\b50b0539995c0493db3e244c2b46883e\transformed\androidx.slidingpanelayout.slidingpanelayout-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.slidingpanelayout' used in: :androidx.slidingpanelayout.slidingpanelayout-1.0.0:, androidx.slidingpanelayout:slidingpanelayout:1.0.0.
[:androidx.legacy.legacy-support-core-ui-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\7d0f02d9b471414e121c686f2467c3d0\transformed\androidx.legacy.legacy-support-core-ui-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.legacy.coreui' used in: :androidx.legacy.legacy-support-core-ui-1.0.0:, androidx.legacy:legacy-support-core-ui:1.0.0.
[:androidx.swiperefreshlayout.swiperefreshlayout-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\a505e16fb99ec69e30000a4393e47f22\transformed\androidx.swiperefreshlayout.swiperefreshlayout-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.swiperefreshlayout' used in: :androidx.swiperefreshlayout.swiperefreshlayout-1.0.0:, androidx.swiperefreshlayout:swiperefreshlayout:1.0.0.
[:androidx.asynclayoutinflater.asynclayoutinflater-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\71adcae7125dbc7ba6d4fcf063061896\transformed\androidx.asynclayoutinflater.asynclayoutinflater-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.asynclayoutinflater' used in: :androidx.asynclayoutinflater.asynclayoutinflater-1.0.0:, androidx.asynclayoutinflater:asynclayoutinflater:1.0.0.
[:androidx.viewpager.viewpager-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\52e6ecf2a6cc4dcc6215f49277b1a175\transformed\androidx.viewpager.viewpager-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.viewpager' used in: :androidx.viewpager.viewpager-1.0.0:, androidx.viewpager:viewpager:1.0.0.
[:androidx.lifecycle.lifecycle-viewmodel-2.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\2abb8773c6d00f77f1bef9482f53d2c5\transformed\androidx.lifecycle.lifecycle-viewmodel-2.0.0\AndroidManifest.xml Warning:
Package name 'androidx.lifecycle.viewmodel' used in: :androidx.lifecycle.lifecycle-viewmodel-2.0.0:, androidx.lifecycle:lifecycle-viewmodel:2.0.0.
[:androidx.coordinatorlayout.coordinatorlayout-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\82ce123ccc2811252c2032bb09aed8a7\transformed\androidx.coordinatorlayout.coordinatorlayout-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.coordinatorlayout' used in: :androidx.coordinatorlayout.coordinatorlayout-1.0.0:, androidx.coordinatorlayout:coordinatorlayout:1.0.0.
[:androidx.customview.customview-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\cc88c5bb393326f9640e49cde21086e1\transformed\androidx.customview.customview-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.customview' used in: :androidx.customview.customview-1.0.0:, androidx.customview:customview:1.0.0.
[:androidx.print.print-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\f1edf6e89a4764e0cd47f509ec60abba\transformed\androidx.print.print-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.print' used in: :androidx.print.print-1.0.0:, androidx.print:print:1.0.0.
[:androidx.lifecycle.lifecycle-livedata-core-2.1.0:] C:\Users\Tommy\.gradle\caches\transforms-3\7f05f53597f3af9df8f5afcf6631ee35\transformed\androidx.lifecycle.lifecycle-livedata-core-2.1.0\AndroidManifest.xml Warning:
Package name 'androidx.lifecycle.livedata.core' used in: :androidx.lifecycle.lifecycle-livedata-core-2.1.0:, androidx.lifecycle:lifecycle-livedata-core:2.0.0.
[:androidx.fragment.fragment-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\ecb34956e8a0e7004d3b49d2f0ee7269\transformed\androidx.fragment.fragment-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.fragment' used in: :androidx.fragment.fragment-1.0.0:, androidx.fragment:fragment:1.0.0.
[:googlemobileads-unity:] C:\Users\Tommy\.gradle\caches\transforms-3\1193c5c1047fc7ff5f08a3a1bb9cb559\transformed\googlemobileads-unity\AndroidManifest.xml Warning:
Package name 'com.google.unity.ads' used in: :googlemobileads-unity:, :unityLibrary:GoogleMobileAdsPlugin.androidlib.
[:androidx.legacy.legacy-support-core-utils-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\1a1b31046a5b849bc9d97952fb73c469\transformed\androidx.legacy.legacy-support-core-utils-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.legacy.coreutils' used in: :androidx.legacy.legacy-support-core-utils-1.0.0:, androidx.legacy:legacy-support-core-utils:1.0.0.
[:androidx.cursoradapter.cursoradapter-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\e9344c4b9ac30a31b49a43865097aea4\transformed\androidx.cursoradapter.cursoradapter-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.cursoradapter' used in: :androidx.cursoradapter.cursoradapter-1.0.0:, androidx.cursoradapter:cursoradapter:1.0.0.
[:androidx.versionedparcelable.versionedparcelable-1.1.1:] C:\Users\Tommy\.gradle\caches\transforms-3\d4bebd9aa71640e0c507d10c5c242109\transformed\androidx.versionedparcelable.versionedparcelable-1.1.1\AndroidManifest.xml Warning:
Package name 'androidx.versionedparcelable' used in: :androidx.versionedparcelable.versionedparcelable-1.1.1:, androidx.versionedparcelable:versionedparcelable:1.1.0.
[:androidx.arch.core.core-runtime-2.1.0:] C:\Users\Tommy\.gradle\caches\transforms-3\2d52abcb00febcbea3320721f30136d8\transformed\androidx.arch.core.core-runtime-2.1.0\AndroidManifest.xml Warning:
Package name 'androidx.arch.core' used in: :androidx.arch.core.core-runtime-2.1.0:, androidx.arch.core:core-runtime:2.0.0.
[:com.google.android.gms.play-services-basement-18.2.0:] C:\Users\Tommy\.gradle\caches\transforms-3\a7011ee985d0732005d04fb5184f92e7\transformed\com.google.android.gms.play-services-basement-18.2.0\AndroidManifest.xml Warning:
Package name 'com.google.android.gms.common' used in: :com.google.android.gms.play-services-basement-18.2.0:, com.google.android.gms:play-services-basement:18.1.0.
[:com.google.android.gms.play-services-tasks-18.0.1:] C:\Users\Tommy\.gradle\caches\transforms-3\02a4756198d7e3dd02df66539b73aa7f\transformed\com.google.android.gms.play-services-tasks-18.0.1\AndroidManifest.xml Warning:
Package name 'com.google.android.gms.tasks' used in: :com.google.android.gms.play-services-tasks-18.0.1:, com.google.android.gms:play-services-tasks:18.0.2.
[:androidx.lifecycle.lifecycle-livedata-2.1.0:] C:\Users\Tommy\.gradle\caches\transforms-3\c4173130f95781b51f934d6deba78646\transformed\androidx.lifecycle.lifecycle-livedata-2.1.0\AndroidManifest.xml Warning:
Package name 'androidx.lifecycle.livedata' used in: :androidx.lifecycle.lifecycle-livedata-2.1.0:, androidx.lifecycle:lifecycle-livedata:2.0.0.
[:androidx.core.core-1.8.0:] C:\Users\Tommy\.gradle\caches\transforms-3\a9e148e7951e02e34c97d78632b3c633\transformed\androidx.core.core-1.8.0\AndroidManifest.xml Warning:
Package name 'androidx.core' used in: :androidx.core.core-1.8.0:, androidx.core:core:1.2.0.
[:androidx.localbroadcastmanager.localbroadcastmanager-1.0.0:] C:\Users\Tommy\.gradle\caches\transforms-3\08cffaad110661a95c6f1f8e9d2905d8\transformed\androidx.localbroadcastmanager.localbroadcastmanager-1.0.0\AndroidManifest.xml Warning:
Package name 'androidx.localbroadcastmanager' used in: :androidx.localbroadcastmanager.localbroadcastmanager-1.0.0:, androidx.localbroadcastmanager:localbroadcastmanager:1.0.0.

> Task :launcher:processReleaseManifest
> Task :launcher:processApplicationManifestReleaseForBundle
> Task :launcher:mergeReleaseShaders UP-TO-DATE
> Task :launcher:compileReleaseShaders NO-SOURCE
> Task :launcher:generateReleaseAssets UP-TO-DATE
> Task :launcher:mergeReleaseResources
> Task :launcher:mergeReleaseAssets
> Task :launcher:compileReleaseAidl NO-SOURCE
> Task :launcher:generateReleaseBuildConfig UP-TO-DATE
> Task :launcher:javaPreCompileRelease UP-TO-DATE
> Task :launcher:extractProguardFiles UP-TO-DATE
> Task :launcher:processReleaseJavaRes NO-SOURCE
> Task :launcher:checkReleaseAarMetadata
> Task :launcher:mergeReleaseJniLibFolders UP-TO-DATE
> Task :launcher:mergeReleaseArtProfile UP-TO-DATE
> Task :launcher:checkReleaseDuplicateClasses FAILED
> Task :launcher:bundleReleaseResources
> Task :launcher:collectReleaseDependencies
> Task :launcher:processReleaseManifestForPackage

> Task :unityLibrary:compileReleaseJavaWithJavac

> Task :launcher:mergeReleaseJavaResource FAILED
62 actionable tasks: 17 executed, 45 up-to-date

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)


The second one is:
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Note: D:\unityProject\chickenFight_current - Copy2\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

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.INotificationSideChannel found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.app.RemoteActionCompatParcelizer found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.graphics.drawable.IconCompatParcelizer found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.os.IResultReceiver found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.os.ResultReceiver found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.os.ResultReceiver$1 found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class androidx.arch.core.executor.ArchTaskExecutor found in modules androidx.arch.core.core-runtime-2.1.0-runtime (:androidx.arch.core.core-runtime-2.1.0:) and 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 androidx.arch.core.core-runtime-2.1.0-runtime (:androidx.arch.core.core-runtime-2.1.0:) and 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 androidx.arch.core.core-runtime-2.1.0-runtime (:androidx.arch.core.core-runtime-2.1.0:) and core-runtime-2.0.0-runtime (androidx.arch.core:core-runtime:2.0.0)
     Duplicate class androidx.arch.core.executor.DefaultTaskExecutor found in modules androidx.arch.core.core-runtime-2.1.0-runtime (:androidx.arch.core.core-runtime-2.1.0:) and 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 androidx.arch.core.core-runtime-2.1.0-runtime (:androidx.arch.core.core-runtime-2.1.0:) and core-runtime-2.0.0-runtime (androidx.arch.core:core-runtime:2.0.0)
     Duplicate class androidx.arch.core.executor.TaskExecutor found in modules androidx.arch.core.core-runtime-2.1.0-runtime (:androidx.arch.core.core-runtime-2.1.0:) and core-runtime-2.0.0-runtime (androidx.arch.core:core-runtime:2.0.0)
     Duplicate class androidx.arch.core.internal.FastSafeIterableMap found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.internal.SafeIterableMap found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.internal.SafeIterableMap$AscendingIterator found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.internal.SafeIterableMap$DescendingIterator found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.internal.SafeIterableMap$Entry found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.internal.SafeIterableMap$IteratorWithAdditions found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.internal.SafeIterableMap$ListIterator found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.internal.SafeIterableMap$SupportRemove found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.util.Function found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.asynclayoutinflater.view.AsyncLayoutInflater found in modules androidx.asynclayoutinflater.asynclayoutinflater-1.0.0-runtime (:androidx.asynclayoutinflater.asynclayoutinflater-1.0.0:) and asynclayoutinflater-1.0.0-runtime (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0)
     Duplicate class androidx.asynclayoutinflater.view.AsyncLayoutInflater$1 found in modules androidx.asynclayoutinflater.asynclayoutinflater-1.0.0-runtime (:androidx.asynclayoutinflater.asynclayoutinflater-1.0.0:) and asynclayoutinflater-1.0.0-runtime (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0)
     Duplicate class androidx.asynclayoutinflater.view.AsyncLayoutInflater$BasicInflater found in modules androidx.asynclayoutinflater.asynclayoutinflater-1.0.0-runtime (:androidx.asynclayoutinflater.asynclayoutinflater-1.0.0:) and asynclayoutinflater-1.0.0-runtime (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0)
     Duplicate class androidx.asynclayoutinflater.view.AsyncLayoutInflater$InflateRequest found in modules androidx.asynclayoutinflater.asynclayoutinflater-1.0.0-runtime (:androidx.asynclayoutinflater.asynclayoutinflater-1.0.0:) and asynclayoutinflater-1.0.0-runtime (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0)
     Duplicate class androidx.asynclayoutinflater.view.AsyncLayoutInflater$InflateThread found in modules androidx.asynclayoutinflater.asynclayoutinflater-1.0.0-runtime (:androidx.asynclayoutinflater.asynclayoutinflater-1.0.0:) and asynclayoutinflater-1.0.0-runtime (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0)
     Duplicate class androidx.asynclayoutinflater.view.AsyncLayoutInflater$OnInflateFinishedListener found in modules androidx.asynclayoutinflater.asynclayoutinflater-1.0.0-runtime (:androidx.asynclayoutinflater.asynclayoutinflater-1.0.0:) and asynclayoutinflater-1.0.0-runtime (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0)
     Duplicate class androidx.collection.ArrayMap found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.ArrayMap$1 found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.ArraySet found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.ArraySet$1 found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.CircularArray found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.CircularIntArray found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.ContainerHelpers found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.LongSparseArray found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.LruCache found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.MapCollections found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.MapCollections$ArrayIterator found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.MapCollections$EntrySet found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.MapCollections$KeySet found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.MapCollections$MapIterator found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.MapCollections$ValuesCollection found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.SimpleArrayMap found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.SparseArrayCompat found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.coordinatorlayout.widget.CoordinatorLayout found in modules androidx.coordinatorlayout.coordinatorlayout-1.0.0-runtime (:androidx.coordinatorlayout.coordinatorlayout-1.0.0:) and coordinatorlayout-1.0.0-runtime (androidx.coordinatorlayout:coordinatorlayout:1.0.0)
     Duplicate class androidx.coordinatorlayout.widget.CoordinatorLayout$1 found in modules androidx.coordinatorlayout.coordinatorlayout-1.0.0-runtime (:androidx.coordinatorlayout.coordinatorlayout-1.0.0:) and coordinatorlayout-1.0.0-runtime (androidx.coordinatorlayout:coordinatorlayout:1.0.0)
     Duplicate class androidx.coordinatorlayout.widget.CoordinatorLayout$AttachedBehavior found in modules androidx.coordinatorlayout.coordinatorlayout-1.0.0-runtime (:androidx.coordinatorlayout.coordinatorlayout-1.0.0:) and coordinatorlayout-1.0.0-runtime (androidx.coordinatorlayout:coordinatorlayout:1.0.0)
     Duplicate class androidx.coordinatorlayout.widget.CoordinatorLayout$Behavior found in modules androidx.coordinatorlayout.coordinatorlayout-1.0.0-runtime (:androidx.coordinatorlayout.coordinatorlayout-1.0.0:) and coordinatorlayout-1.0.0-runtime (androidx.coordinatorlayout:coordinatorlayout:1.0.0)
     Duplicate class androidx.coordinatorlayout.widget.CoordinatorLayout$DefaultBehavior found in modules androidx.coordinatorlayout.coordinatorlayout-1.0.0-runtime (:androidx.coordinatorlayout.coordinatorlayout-1.0.0:) and coordinatorlayout-1.0.0-runtime (androidx.coordinatorlayout:coordinatorlayout:1.0.0)
     Duplicate class androidx.coordinatorlayout.widget.CoordinatorLayout$DispatchChangeEvent found in modules androidx.coordinatorlayout.coordinatorlayout-1.0.0-runtime (:androidx.coordinatorlayout.coordinatorlayout-1.0.0:) and coordinatorlayout-1.0.0-runtime (androidx.coordinatorlayout:coordinatorlayout:1.0.0)
     Duplicate class androidx.coordinatorlayout.widget.CoordinatorLayout$HierarchyChangeListener found in modules androidx.coordinatorlayout.coordinatorlayout-1.0.0-runtime (:androidx.coordinatorlayout.coordinatorlayout-1.0.0:) and coordinatorlayout-1.0.0-runtime (androidx.coordinatorlayout:coordinatorlayout:1.0.0)
     Duplicate class androidx.coordinatorlayout.widget.CoordinatorLayout$LayoutParams found in modules androidx.coordinatorlayout.coordinatorlayout-1.0.0-runtime (:androidx.coordinatorlayout.coordinatorlayout-1.0.0:) and coordinatorlayout-1.0.0-runtime (androidx.coordinatorlayout:coordinatorlayout:1.0.0)
     Duplicate class androidx.coordinatorlayout.widget.CoordinatorLayout$OnPreDrawListener found in modules androidx.coordinatorlayout.coordinatorlayout-1.0.0-runtime (:androidx.coordinatorlayout.coordinatorlayout-1.0.0:) and coordinatorlayout-1.0.0-runtime (androidx.coordinatorlayout:coordinatorlayout:1.0.0)
     Duplicate class androidx.coordinatorlayout.widget.CoordinatorLayout$SavedState found in modules androidx.coordinatorlayout.coordinatorlayout-1.0.0-runtime (:androidx.coordinatorlayout.coordinatorlayout-1.0.0:) and coordinatorlayout-1.0.0-runtime (androidx.coordinatorlayout:coordinatorlayout:1.0.0)
     Duplicate class androidx.coordinatorlayout.widget.CoordinatorLayout$SavedState$1 found in modules androidx.coordinatorlayout.coordinatorlayout-1.0.0-runtime (:androidx.coordinatorlayout.coordinatorlayout-1.0.0:) and coordinatorlayout-1.0.0-runtime (androidx.coordinatorlayout:coordinatorlayout:1.0.0)
     Duplicate class androidx.coordinatorlayout.widget.CoordinatorLayout$ViewElevationComparator found in modules androidx.coordinatorlayout.coordinatorlayout-1.0.0-runtime (:androidx.coordinatorlayout.coordinatorlayout-1.0.0:) and coordinatorlayout-1.0.0-runtime (androidx.coordinatorlayout:coordinatorlayout:1.0.0)
     Duplicate class androidx.coordinatorlayout.widget.DirectedAcyclicGraph found in modules androidx.coordinatorlayout.coordinatorlayout-1.0.0-runtime (:androidx.coordinatorlayout.coordinatorlayout-1.0.0:) and coordinatorlayout-1.0.0-runtime (androidx.coordinatorlayout:coordinatorlayout:1.0.0)
     Duplicate class androidx.coordinatorlayout.widget.ViewGroupUtils found in modules androidx.coordinatorlayout.coordinatorlayout-1.0.0-runtime (:androidx.coordinatorlayout.coordinatorlayout-1.0.0:) and coordinatorlayout-1.0.0-runtime (androidx.coordinatorlayout:coordinatorlay<message truncated>

The third one is:
CommandInvokationFailure: Gradle build failed. 
D:\unityEditor\2022.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "D:\unityEditor\2022.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-7.2.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "bundleRelease"

Environment Variables:
PROCESSOR_ARCHITECTURE = AMD64
AMPLITUDE_API_KEY_YELLOWBUCKET_DEV = 48835b4d1f5e342aefe5f016324d296a
BURST_ANDROID_MIN_API_LEVEL = 22
DriverData = C:\Windows\System32\Drivers\DriverData
USERDOMAIN = DESKTOP-NV2ANDJ
CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
COMPUTERNAME = DESKTOP-NV2ANDJ
DEBUG_ENV_VAR = UnityHub
LOGONSERVER = \\DESKTOP-NV2ANDJ
AMPLITUDE_TOKEN_GREENBUCKET_PROD = yyzPzalJDwrQcYNuOZam0bhKb26WyyhK
PUBLIC = C:\Users\Public
ProgramData = C:\ProgramData
SESSIONNAME = Console
AMPLITUDE_TOKEN_YELLOWBUCKET_PROD = Ph-837Q6GNodAkyc2MRkxVPUcjlIET4d
ALLUSERSPROFILE = C:\ProgramData
SystemRoot = C:\WINDOWS
windir = C:\WINDOWS
AMPLITUDE_API_KEY_REDBUCKET_DEV = 46b8b46515e7632fc42a504b72e05fd0
ProgramFiles(x86) = C:\Program Files (x86)
ProgramW6432 = C:\Program Files
OS = Windows_NT
ANDROID_NDK_ROOT = D:\unityEditor\2022.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\NDK
PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 140 Stepping 1, GenuineIntel
HEAP_CLIENT_TOKEN_STAGING = 3786794399
HOMEPATH = \Users\Tommy
FPS_BROWSER_USER_PROFILE_STRING = Default
AMPLITUDE_TOKEN_REDBUCKET_DEV = U4PSN7S7PuYVRODivvdcFwbu8R6IHGqa
CHROME_CRASHPAD_PIPE_NAME = \\.\pipe\crashpad_18240_VMNSTGWGYJUTRAAR
PROCESSOR_LEVEL = 6
JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
CommonProgramFiles = C:\Program Files\Common Files
ZES_ENABLE_SYSMAN = 1
JAVA_HOME = D:\unityEditor\2022.3.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK
USERDOMAIN_ROAMINGPROFILE = DESKTOP-NV2ANDJ
TEMP = C:\Users\Tommy\AppData\Local\Temp
CommonProgramW6432 = C:\Program Files\Common Files
AMPLITUDE_TOKEN_YELLOWBUCKET_DEV = wKi8foVigDditGFvmZewRFWsEbX9Y0YO
AMPLITUDE_API_KEY_GREENBUCKET_DEV = 3ded2a762163603391a425f688f990c8
AMPLITUDE_API_KEY_REDBUCKET_PROD = ca12bb461ea96f9bdf5df4ded7d52994
HOMEDRIVE = C:
AMPLITUDE_API_KEY_STAGING = 83ee04fccc67e4fcc7dd527c4c6f1e21
USERNAME = Tommy
OneDrive = C:\Users\Tommy\OneDrive
AMPLITUDE_API_KEY_YELLOWBUCKET_PROD = e03a9bbe92dc38a88cdb068d24c65b46
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
AMPLITUDE_TOKEN_REDBUCKET_PROD = QqyoFpcWPi7V17p80_46CF6-sNGRGbHo
NUMBER_OF_PROCESSORS = 8
VBOX_MSI_INSTALL_PATH = C:\Program Files\Oracle\VirtualBox\
AMPLITUDE_TOKEN_GREENBUCKET_DEV = 84H2gMm_FJzhr3mBaX1lM1JVukmCM7d9
AMPLITUDE_DEPLOYMENT_KEY_RED_BUCKET_DEV = client-wbjHYrmeSR87GmWOE7LDpf7sUySOIKHm
EFC_9256 = 1
PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules
AMPLITUDE_API_KEY_GREENBUCKET_PROD = c86fea37a9e1d3f0878b96e15b111c7c
ComSpec = C:\WINDOWS\system32\cmd.exe
ORIGINAL_XDG_CURRENT_DESKTOP = undefined
PROCESSOR_REVISION = 8c01
AMPLITUDE_DEPLOYMENT_KEY_RED_BUCKET_PROD = client-zH8Y7OK1i331EKuG77C6UxN8ygcM6LzS
TMP = C:\Users\Tommy\AppData\Local\Temp
SystemDrive = C:
AMPLITUDE_API_KEY = 28f3cae0b33b8b3702120c9ed1a935aa
FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
SENTRY_ACCESS_TOKEN = 3df78d9e53f8456aa90fbae044ce1a6261421ab1d0014674bc2e933477289017
HEAP_CLIENT_TOKEN = 1717415662
APPDATA = C:\Users\Tommy\AppData\Roaming
Path = D:\bin\;C:\Program Files\Microsoft\jdk-11.0.16.101-hotspot\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\Tommy\AppData\Local\Programs\Python\Python311;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\Git\cmd;C:\Users\Tommy\AppData\Local\Programs\Python\Python311\Scripts;C:\Program Files\PuTTY\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\nodejs;D:\jsp\jdk-19.0.2\bin;C:\Program Files\dotnet\;C:\Users\Tommy\AppData\Local\Microsoft\WindowsApps;C:\Users\Tommy\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Tommy\.dotnet\tools
ProgramFiles = C:\Program Files
LOCALAPPDATA = C:\Users\Tommy\AppData\Local
USERPROFILE = C:\Users\Tommy
WOOTRIC_CLIENT_TOKEN = NPS-aa8be4c3


stderr[
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Note: D:\unityProject\chickenFight_current - Copy2\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

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.INotificationSideChannel found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.app.RemoteActionCompatParcelizer found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.graphics.drawable.IconCompatParcelizer found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.os.IResultReceiver found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.os.ResultReceiver found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.os.ResultReceiver$1 found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules androidx.core.core-1.8.0-runtime (:androidx.core.core-1.8.0:) and core-1.2.0-runtime (androidx.core:core:1.2.0)
     Duplicate class androidx.arch.core.executor.ArchTaskExecutor found in modules androidx.arch.core.core-runtime-2.1.0-runtime (:androidx.arch.core.core-runtime-2.1.0:) and 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 androidx.arch.core.core-runtime-2.1.0-runtime (:androidx.arch.core.core-runtime-2.1.0:) and 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 androidx.arch.core.core-runtime-2.1.0-runtime (:androidx.arch.core.core-runtime-2.1.0:) and core-runtime-2.0.0-runtime (androidx.arch.core:core-runtime:2.0.0)
     Duplicate class androidx.arch.core.executor.DefaultTaskExecutor found in modules androidx.arch.core.core-runtime-2.1.0-runtime (:androidx.arch.core.core-runtime-2.1.0:) and 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 androidx.arch.core.core-runtime-2.1.0-runtime (:androidx.arch.core.core-runtime-2.1.0:) and core-runtime-2.0.0-runtime (androidx.arch.core:core-runtime:2.0.0)
     Duplicate class androidx.arch.core.executor.TaskExecutor found in modules androidx.arch.core.core-runtime-2.1.0-runtime (:androidx.arch.core.core-runtime-2.1.0:) and core-runtime-2.0.0-runtime (androidx.arch.core:core-runtime:2.0.0)
     Duplicate class androidx.arch.core.internal.FastSafeIterableMap found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.internal.SafeIterableMap found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.internal.SafeIterableMap$AscendingIterator found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.internal.SafeIterableMap$DescendingIterator found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.internal.SafeIterableMap$Entry found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.internal.SafeIterableMap$IteratorWithAdditions found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.internal.SafeIterableMap$ListIterator found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.internal.SafeIterableMap$SupportRemove found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.arch.core.util.Function found in modules androidx.arch.core.core-common-2.1.0 (androidx.arch.core.core-common-2.1.0.jar) and core-common-2.0 (androidx.arch.core:core-common:2.0.0)
     Duplicate class androidx.asynclayoutinflater.view.AsyncLayoutInflater found in modules androidx.asynclayoutinflater.asynclayoutinflater-1.0.0-runtime (:androidx.asynclayoutinflater.asynclayoutinflater-1.0.0:) and asynclayoutinflater-1.0.0-runtime (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0)
     Duplicate class androidx.asynclayoutinflater.view.AsyncLayoutInflater$1 found in modules androidx.asynclayoutinflater.asynclayoutinflater-1.0.0-runtime (:androidx.asynclayoutinflater.asynclayoutinflater-1.0.0:) and asynclayoutinflater-1.0.0-runtime (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0)
     Duplicate class androidx.asynclayoutinflater.view.AsyncLayoutInflater$BasicInflater found in modules androidx.asynclayoutinflater.asynclayoutinflater-1.0.0-runtime (:androidx.asynclayoutinflater.asynclayoutinflater-1.0.0:) and asynclayoutinflater-1.0.0-runtime (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0)
     Duplicate class androidx.asynclayoutinflater.view.AsyncLayoutInflater$InflateRequest found in modules androidx.asynclayoutinflater.asynclayoutinflater-1.0.0-runtime (:androidx.asynclayoutinflater.asynclayoutinflater-1.0.0:) and asynclayoutinflater-1.0.0-runtime (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0)
     Duplicate class androidx.asynclayoutinflater.view.AsyncLayoutInflater$InflateThread found in modules androidx.asynclayoutinflater.asynclayoutinflater-1.0.0-runtime (:androidx.asynclayoutinflater.asynclayoutinflater-1.0.0:) and asynclayoutinflater-1.0.0-runtime (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0)
     Duplicate class androidx.asynclayoutinflater.view.AsyncLayoutInflater$OnInflateFinishedListener found in modules androidx.asynclayoutinflater.asynclayoutinflater-1.0.0-runtime (:androidx.asynclayoutinflater.asynclayoutinflater-1.0.0:) and asynclayoutinflater-1.0.0-runtime (androidx.asynclayoutinflater:asynclayoutinflater:1.0.0)
     Duplicate class androidx.collection.ArrayMap found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.ArrayMap$1 found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.ArraySet found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.ArraySet$1 found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.CircularArray found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.CircularIntArray found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.ContainerHelpers found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.LongSparseArray found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.LruCache found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.MapCollections found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.MapCollections$ArrayIterator found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.MapCollections$EntrySet found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.MapCollections$KeySet found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.MapCollections$MapIterator found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.MapCollections$ValuesCollection found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.SimpleArrayMap found in modules androidx.collection.collection-1.1.0 (androidx.collection.collection-1.1.0.jar) and collection-1.0 (androidx.collection:collection:1.0.0)
     Duplicate class androidx.collection.SparseArrayCompat found in modules androidx.collectio<message truncated>

The fourth one is:
Build completed with a result of 'Failed' in 363 seconds (362736 ms)
4 errors
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

<해결방법>





위의 화면과 같이 체크하고, 경로에 있는 두 파일을 변경해야 한다.

mainTemplate.gradle 파일에는 아래와 같은 내용을 파일 첫머리에 넣어준다


위와 같이 넣어주는 이유는 아래와 같이 검색을 한후에 넣어주는 것이다. 아래에서 보듯이 
검색어는 아래의 사이트에서(아래 사이트는 android developer)로치면 안드로이드 개발자 페이지가 나온다. 아래 공식 사이트에서 DOC(문서)로 들어가서 "Gradle Plugin Release Notes" 라고 검색한다.

그러면 유니티에디터에서 타켓팅하는 api하고 버전을 맞추어야 한다.




확인이 되었으면 아래와 같이 넣어준다.





그리고 유니티를 다시 켜고 rebuild해보기 바란다. 문제가 해결되었을 것이다.
















댓글

이 블로그의 인기 게시물

image_insert_vba (vba로 만든 이미지 자동 삽입기)

IT 개발자 다이어리 - 2024년 6월 7일 금요일 / 날씨: 흐리다가 맑아짐

Privacy Policy(Chicken Fight - 닭싸움)