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

Question Gradle Build : enableUncompressedNativeLibs=false is deprecated.

Discussion in 'Android' started by danielrconrad, Sep 2, 2023.

  1. danielrconrad

    danielrconrad

    Joined:
    Apr 19, 2021
    Posts:
    15
    I keep getting this error when I build to Android. It says :

    WARNING:The option setting 'android.bundle.enableUncompressedNativeLibs=false' is deprecated.
    The current default is 'true'.
    It will be removed in version 8.0 of the Android Gradle plugin.
    You can add the following to your build.gradle instead:
    android {
    packagingOptions {
    jniLibs {
    useLegacyPackaging = true
    }
    }
    }

    I've added this to the custom gradle launch orders but I still get this error. How is it supposed to fit into the launch template? I've tried other versions of gradle than the one for Unity and it gets a similar error, is there a specific gradle build I can use where its not deprecated?
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,663
    That's a warning, not an error.
     
    danielrconrad likes this.
  3. BOOLitGameStudio

    BOOLitGameStudio

    Joined:
    May 16, 2013
    Posts:
    17
    well I'm getting the same error trying to build a project using the ads mediation and ironsource plugins for target api 33 (android 13). I'm using unity 2022.3.8f1 and I can build an empty project without a problem. I can add External dependency resolver 1.2.177 and still build just fine. But as soon as I add plugins Ironsouce 7.5.0, google play services 0.11.01, and firebase analytics (firebase sdk v11.4.0) the build fails and I get this error window:

    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable See the Console for details.

    and this error message:
    > Configure project :launcher
    WARNING:The option setting 'android.bundle.enableUncompressedNativeLibs=false' is deprecated.
    The current default is 'true'.
    It will be removed in version 8.0 of the Android Gradle plugin.
    You can add the following to your build.gradle instead:
    android {
    packagingOptions {
    jniLibs {
    useLegacyPackaging = true
    }
    }
    }
    WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 33
    This Android Gradle plugin (7.1.2) was tested up to compileSdk = 32
    This warning can be suppressed by adding
    android.suppressUnsupportedCompileSdk=33
    to this project's gradle.properties
    The build will continue, but you are strongly encouraged to update your project to
    use a newer Android Gradle Plugin that has been tested with compileSdk = 33
    > Task :unityLibrary:IronSource.androidlib:preBuild UP-TO-DATE
    > Task :launcher:preBuild UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:preBuild UP-TO-DATE
    > Task :unityLibrary:preBuild UP-TO-DATE
    > Task :unityLibrary:preReleaseBuild UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:preReleaseBuild UP-TO-DATE
    > Task :UnityDataAssetPack:generateAssetPackManifest UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:preReleaseBuild UP-TO-DATE
    > Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
    > Task :unityLibrary:IronSource.androidlib:packageReleaseRenderscript NO-SOURCE
    > Task :launcher:preReleaseBuild UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:packageReleaseRenderscript NO-SOURCE
    > Task :unityLibrary:generateReleaseResValues UP-TO-DATE
    > Task :launcher:compileReleaseRenderscript NO-SOURCE
    > Task :unityLibrary:IronSource.androidlib:compileReleaseRenderscript NO-SOURCE
    > Task :unityLibrary:IronSource.androidlib:generateReleaseResValues UP-TO-DATE
    > Task :unityLibrary:extractDeepLinksRelease UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:generateReleaseResources UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseRenderscript NO-SOURCE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseResValues UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseResources UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:packageReleaseResources UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:packageReleaseResources UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:extractDeepLinksRelease UP-TO-DATE
    > Task :launcher:processReleaseAssetPackManifests UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:extractDeepLinksRelease UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:processReleaseManifest UP-TO-DATE
    > Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:processReleaseManifest UP-TO-DATE
    > Task :launcher:linkReleaseManifestForAssetPacks UP-TO-DATE
    > Task :unityLibrary:generateReleaseResources UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:compileReleaseLibraryResources UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseLibraryResources UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseAidl NO-SOURCE
    > Task :unityLibrary:IronSource.androidlib:compileReleaseAidl NO-SOURCE
    > Task :unityLibrary:packageReleaseResources UP-TO-DATE
    > Task :unityLibrary:compileReleaseLibraryResources UP-TO-DATE
    > Task :unityLibrary:compileReleaseAidl NO-SOURCE
    > Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:parseReleaseLocalResources UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:parseReleaseLocalResources UP-TO-DATE
    > Task :unityLibrary:parseReleaseLocalResources UP-TO-DATE
    > Task :unityLibrary:javaPreCompileRelease UP-TO-DATE
    > Task :unityLibrary:writeReleaseAarMetadata UP-TO-DATE
    > Task :unityLibrary:mergeReleaseShaders UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseRFile UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:generateReleaseRFile UP-TO-DATE
    > Task :unityLibrary:compileReleaseShaders NO-SOURCE
    > Task :unityLibrary:IronSource.androidlib:generateReleaseBuildConfig UP-TO-DATE
    > Task :unityLibrary:generateReleaseAssets UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:javaPreCompileRelease UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseBuildConfig UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:javaPreCompileRelease UP-TO-DATE
    > Task :launcher:generateReleaseResValues UP-TO-DATE
    > Task :launcher:generateReleaseResources UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseJavaWithJavac UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:bundleLibCompileToJarRelease UP-TO-DATE
    > Task :launcher:assetPackReleasePreBundleTask
    > Task :unityLibrary:IronSource.androidlib:compileReleaseJavaWithJavac UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:bundleLibCompileToJarRelease UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:writeReleaseAarMetadata UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:writeReleaseAarMetadata UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseShaders UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:mergeReleaseShaders UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseShaders NO-SOURCE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseAssets UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:compileReleaseShaders NO-SOURCE
    > Task :unityLibrary:IronSource.androidlib:generateReleaseAssets UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:packageReleaseAssets UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:packageReleaseAssets UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:processReleaseJavaRes NO-SOURCE
    > Task :unityLibrary:packageReleaseAssets
    > Task :unityLibrary:IronSource.androidlib:processReleaseJavaRes NO-SOURCE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:bundleLibResRelease NO-SOURCE
    > Task :unityLibrary:IronSource.androidlib:bundleLibResRelease NO-SOURCE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseJniLibFolders UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:mergeReleaseJniLibFolders UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseNativeLibs NO-SOURCE
    > Task :unityLibrary:processReleaseJavaRes UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:mergeReleaseNativeLibs NO-SOURCE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:copyReleaseJniLibsProjectOnly UP-TO-DATE
    > Task :unityLibrary:bundleLibResRelease UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:copyReleaseJniLibsProjectOnly UP-TO-DATE
    > Task :unityLibrary:mergeReleaseJniLibFolders UP-TO-DATE
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:prepareReleaseArtProfile UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:prepareReleaseArtProfile UP-TO-DATE
    > Task :unityLibrary:mergeReleaseNativeLibs UP-TO-DATE
    > Task :unityLibrary:IronSource.androidlib:bundleLibRuntimeToDirRelease
    > Task :unityLibrary:GooglePlayGamesManifest.androidlib:bundleLibRuntimeToDirRelease
    > Task :unityLibrary:processReleaseManifest
    > Task :unityLibrary:prepareReleaseArtProfile UP-TO-DATE
    > Task :unityLibrary:copyReleaseJniLibsProjectOnly
    > Task :unityLibrary:generateReleaseRFile
    > Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
    > Task :launcher:extractDeepLinksRelease UP-TO-DATE
    > Task :launcher:processReleaseMainManifest
    [com.google.android.play:asset-delivery:2.0.0] C:\Users\zigak\.gradle\caches\transforms-3\c6f1bc56ed613e482318cfd0ae07447b\transformed\asset-delivery-2.0.0\AndroidManifest.xml Warning:
    Package name 'com.google.android.play.core.client' used in: com.google.android.play:asset-delivery:2.0.0, com.google.android.play:core-common:2.0.0.
    [:com.google.android.gms.play-services-basement-18.0.0:] C:\Users\zigak\.gradle\caches\transforms-3\b38d206231690b9fd5bdd2ab38fe7cd3\transformed\com.google.android.gms.play-services-basement-18.0.0\AndroidManifest.xml Warning:
    Package name 'com.google.android.gms.common' used in: :com.google.android.gms.play-services-basement-18.0.0:, :com.google.android.gms.play-services-basement-18.1.0:, com.google.android.gms:play-services-basement:16.0.1.
    [:com.google.android.gms.play-services-tasks-18.0.1:] C:\Users\zigak\.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:16.0.1.
    C:\BOOLit\Monetization Plugin\Library\Bee\Android\Prj\IL2CPP\Gradle\launcher\src\main\AndroidManifest.xml:15:7-145 Warning:
    meta-data#com.unity3d.services.core.network.core.CronetInitializer was tagged at AndroidManifest.xml:15 to remove other declarations but no other declaration present
    > Task :launcher:processReleaseManifest
    > Task :launcher:processApplicationManifestReleaseForBundle
    > Task :unityLibrary:compileReleaseJavaWithJavac
    > Task :unityLibrary:bundleLibRuntimeToDirRelease
    > Task :unityLibrary:bundleLibCompileToJarRelease
    > Task :launcher:compileReleaseAidl NO-SOURCE
    > Task :launcher:generateReleaseBuildConfig
    > Task :launcher:javaPreCompileRelease
    > Task :launcher:checkReleaseDuplicateClasses FAILED
    > Task :launcher:checkReleaseAarMetadata
    > Task :launcher:mergeReleaseResources
    72 actionable tasks: 18 executed, 54 up-to-date
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)

    followed by:
    Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    Note: C:\BOOLit\Monetization Plugin\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 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.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.os.IResultReceiver found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.os.ResultReceiver found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.os.ResultReceiver$1 found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class com.google.android.gms.actions.ItemListIntents found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.actions.NoteIntents found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.actions.ReserveIntents found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.actions.SearchIntents found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.AccountPicker found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.AccountPicker$AccountChooserOptions found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.AccountPicker$AccountChooserOptions$Builder found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.BlockingServiceConnection found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.ConnectionResult found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.Feature found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.FirstPartyScopes found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.GmsSignatureVerifier found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.GoogleApiAvailabilityLight found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.GooglePlayServicesIncorrectManifestValueException found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.GooglePlayServicesManifestException found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.GooglePlayServicesMissingManifestValueException found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.GooglePlayServicesNotAvailableException found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.GooglePlayServicesRepairableException found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.GooglePlayServicesUtilLight found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.GoogleSignatureVerifier found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.GoogleSourceStampsChecker found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.GoogleSourceStampsResult found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.ProGuardCanary found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.Scopes found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.UserRecoverableException found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.annotation.KeepForSdk found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.annotation.KeepForSdkWithFieldsAndMethods found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.annotation.KeepForSdkWithMembers found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.annotation.KeepName found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.annotation.NonNullApi found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.api.ApiException found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.api.CommonStatusCodes found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.api.Releasable found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-<message truncated>

    and finally:
    CommandInvokationFailure: Gradle build failed.
    C:\Program Files\Unity\Hub\Editor\2022.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2022.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-7.2.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "bundleRelease"
    Environment Variables:
    USERDOMAIN = BOOLIT-RAZER
    ProgramFiles = C:\Program Files
    TMP = C:\Users\zigak\AppData\Local\Temp
    PROCESSOR_ARCHITECTURE = AMD64
    PROCESSOR_REVISION = 8d01
    OneDriveConsumer = C:\Users\zigak\OneDrive
    OS = Windows_NT
    CHROME_CRASHPAD_PIPE_NAME = \\.\pipe\crashpad_8860_PAFHFDWKTFWWAFPS
    PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 141 Stepping 1, GenuineIntel
    AMPLITUDE_API_KEY = 28f3cae0b33b8b3702120c9ed1a935aa
    USERPROFILE = C:\Users\zigak
    JAVA_HOME = C:\Program Files\Unity\Hub\Editor\2022.3.8f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK
    CommonProgramFiles = C:\Program Files\Common Files
    DriverData = C:\Windows\System32\Drivers\DriverData
    ComSpec = C:\Windows\system32\cmd.exe
    LAUNCH_DARKLY_CLIENT_TOKEN = 60a7e30fafc7e60e33446283
    INTEL_DEV_REDIST = C:\Program Files (x86)\Common Files\Intel\Shared Libraries\
    PSModulePath = C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
    PUBLIC = C:\Users\Public
    SystemRoot = C:\Windows
    HEAP_CLIENT_TOKEN = 1717415662
    NUMBER_OF_PROCESSORS = 16
    AMPLITUDE_API_KEY_STAGING = 83ee04fccc67e4fcc7dd527c4c6f1e21
    MIC_LD_LIBRARY_PATH = C:\Program Files (x86)\Common Files\Intel\Shared Libraries\compiler\lib\mic
    WOOTRIC_CLIENT_TOKEN = NPS-aa8be4c3
    JAVA_TOOL_OPTIONS = -Dfile.encoding=UTF-8
    DEBUG_ENV_VAR = UnityHub
    ProgramW6432 = C:\Program Files
    ADSK_3DSMAX_x64_2023 = C:\Program Files\Autodesk\3ds Max 2023\
    FPS_BROWSER_APP_PROFILE_STRING = Internet Explorer
    HOMEDRIVE = C:
    TEMP = C:\Users\zigak\AppData\Local\Temp
    Path = C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program Files\Razer Chroma SDK\bin;C:\Program Files (x86)\Razer\ChromaBroadcast\bin;C:\Program Files\Razer\ChromaBroadcast\bin;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\dotnet\;C:\Program Files\Git\cmd;C:\Program Files\Git LFS;C:\Users\zigak\AppData\Local\Microsoft\WindowsApps;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Common Files\Autodesk Shared\;C:\Users\zigak\AppData\Local\Microsoft\WindowsApps;
    USERNAME = zigak
    COMPUTERNAME = BOOLIT-RAZER
    USERDOMAIN_ROAMINGPROFILE = BOOLIT-RAZER
    PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    SystemDrive = C:
    ALLUSERSPROFILE = C:\ProgramData
    SENTRY_ACCESS_TOKEN = 3df78d9e53f8456aa90fbae044ce1a6261421ab1d0014674bc2e933477289017
    HEAP_CLIENT_TOKEN_STAGING = 3786794399
    FPS_BROWSER_USER_PROFILE_STRING = Default
    windir = C:\Windows
    ZES_ENABLE_SYSMAN = 1
    EFC_16800 = 1
    CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
    APPDATA = C:\Users\zigak\AppData\Roaming
    PROCESSOR_LEVEL = 6
    CommonProgramW6432 = C:\Program Files\Common Files
    ProgramFiles(x86) = C:\Program Files (x86)
    NVIDIAWHITELISTED = 0x01
    SESSIONNAME = Console
    GIT_LFS_PATH = C:\Program Files\Git LFS
    LOGONSERVER = \\BOOLIT-RAZER
    LOCALAPPDATA = C:\Users\zigak\AppData\Local
    HOMEPATH = \Users\zigak
    LAUNCH_DARKLY_CLIENT_TOKEN_STAGING = 60a7e30fafc7e60e33446282
    SHIM_MCCOMPAT = 0x810000001
    OneDrive = C:\Users\zigak\OneDrive
    ProgramData = C:\ProgramData
    ORIGINAL_XDG_CURRENT_DESKTOP = undefined
    stderr[
    Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    Note: C:\BOOLit\Monetization Plugin\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 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.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.os.IResultReceiver found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.os.ResultReceiver found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.os.ResultReceiver$1 found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules androidx.core.core-1.9.0-runtime :)androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    Duplicate class com.google.android.gms.actions.ItemListIntents found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.actions.NoteIntents found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.actions.ReserveIntents found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.actions.SearchIntents found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.AccountPicker found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.AccountPicker$AccountChooserOptions found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.AccountPicker$AccountChooserOptions$Builder found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.BlockingServiceConnection found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.ConnectionResult found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.Feature found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.FirstPartyScopes found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.GmsSignatureVerifier found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.GoogleApiAvailabilityLight found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.GooglePlayServicesIncorrectManifestValueException found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.GooglePlayServicesManifestException found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.GooglePlayServicesMissingManifestValueException found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.GooglePlayServicesNotAvailableException found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.GooglePlayServicesRepairableException found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.GooglePlayServicesUtilLight found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.GoogleSignatureVerifier found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.GoogleSourceStampsChecker found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.GoogleSourceStampsResult found in modules com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:) and com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:)
    Duplicate class com.google.android.gms.common.ProGuardCanary found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    Duplicate class com.google.android.gms.common.Scopes found in the following modules: com.google.android.gms.play-services-basement-18.0.0-runtime :)com.google.android.gms.play-services-basement-18.0.0:), com.google.android.gms.play-services-basement-18.1.0-runtime :)com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (<message truncated>

    with the result:
    Build completed with a result of 'Failed' in 65 seconds (65070 ms)
    3 errors
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)
     
  4. danielrconrad

    danielrconrad

    Joined:
    Apr 19, 2021
    Posts:
    15
    K Good to know, the gradle build fail might be this

    :
    * What went wrong:
    Execution failed for task ':launcher:signReleaseBundle'.
    > A failure occurred while executing com.android.build.gradle.internal.tasks.FinalizeBundleTask$BundleToolRunnable
    > Failed to read key from store assetspath... Cannot recover key

    The key is there and the password works so I dont get how that might be the issue. It is an old game I made a few months back that I pulled out to update the api level. Is there something I've missed in the process? theres another error message too

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

    Its pretty long but if you can tell me what area to look for that might help I'd appreciate any help you can give me
     
  5. SavvaMadar

    SavvaMadar

    Joined:
    Oct 8, 2012
    Posts:
    6
    I'm having the same issue. I'm also updating on old version of a game.


    Code (CSharp):
    1. * What went wrong:
    2. Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
    3. > A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
    4.    > Duplicate class android.support.v4.app.INotificationSideChannel found in modules androidx.core.core-1.9.0-runtime (:androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    5.      Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules androidx.core.core-1.9.0-runtime (:androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    6.      Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules androidx.core.core-1.9.0-runtime (:androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    7.      Duplicate class android.support.v4.os.IResultReceiver found in modules androidx.core.core-1.9.0-runtime (:androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    8.      Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules androidx.core.core-1.9.0-runtime (:androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    9.      Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules androidx.core.core-1.9.0-runtime (:androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    10.      Duplicate class android.support.v4.os.ResultReceiver found in modules androidx.core.core-1.9.0-runtime (:androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    11.      Duplicate class android.support.v4.os.ResultReceiver$1 found in modules androidx.core.core-1.9.0-runtime (:androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    12.      Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules androidx.core.core-1.9.0-runtime (:androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    13.      Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules androidx.core.core-1.9.0-runtime (:androidx.core.core-1.9.0:) and support-compat-26.1.0-runtime (com.android.support:support-compat:26.1.0)
    14.      Duplicate class com.google.android.gms.actions.ItemListIntents found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    15.      Duplicate class com.google.android.gms.actions.NoteIntents found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    16.      Duplicate class com.google.android.gms.actions.ReserveIntents found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    17.      Duplicate class com.google.android.gms.actions.SearchIntents found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    18.      Duplicate class com.google.android.gms.common.AccountPicker found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    19.      Duplicate class com.google.android.gms.common.BlockingServiceConnection found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    20.      Duplicate class com.google.android.gms.common.ConnectionResult found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    21.      Duplicate class com.google.android.gms.common.Feature found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    22.      Duplicate class com.google.android.gms.common.FirstPartyScopes found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    23.      Duplicate class com.google.android.gms.common.GoogleApiAvailabilityLight found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    24.      Duplicate class com.google.android.gms.common.GooglePlayServicesNotAvailableException found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    25.      Duplicate class com.google.android.gms.common.GooglePlayServicesRepairableException found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    26.      Duplicate class com.google.android.gms.common.GooglePlayServicesUtilLight found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    27.      Duplicate class com.google.android.gms.common.GoogleSignatureVerifier found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    28.      Duplicate class com.google.android.gms.common.ProGuardCanary found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    29.      Duplicate class com.google.android.gms.common.Scopes found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    30.      Duplicate class com.google.android.gms.common.UserRecoverableException found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    31.      Duplicate class com.google.android.gms.common.annotation.KeepForSdk found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    32.      Duplicate class com.google.android.gms.common.annotation.KeepForSdkWithFieldsAndMethods found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    33.      Duplicate class com.google.android.gms.common.annotation.KeepForSdkWithMembers found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    34.      Duplicate class com.google.android.gms.common.annotation.KeepName found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    35.      Duplicate class com.google.android.gms.common.api.ApiException found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    36.      Duplicate class com.google.android.gms.common.api.CommonStatusCodes found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    37.      Duplicate class com.google.android.gms.common.api.Releasable found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    38.      Duplicate class com.google.android.gms.common.api.ResolvableApiException found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    39.      Duplicate class com.google.android.gms.common.api.ResolvingResultCallbacks found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    40.      Duplicate class com.google.android.gms.common.api.Response found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    41.      Duplicate class com.google.android.gms.common.api.Result found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    42.      Duplicate class com.google.android.gms.common.api.ResultCallback found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    43.      Duplicate class com.google.android.gms.common.api.ResultCallbacks found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    44.      Duplicate class com.google.android.gms.common.api.Scope found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    45.      Duplicate class com.google.android.gms.common.api.Status found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    46.      Duplicate class com.google.android.gms.common.api.UnsupportedApiCallException found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    47.      Duplicate class com.google.android.gms.common.api.internal.BackgroundDetector found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    48.      Duplicate class com.google.android.gms.common.api.internal.BackgroundDetector$BackgroundStateChangeListener found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    49.      Duplicate class com.google.android.gms.common.api.internal.GoogleServices found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    50.      Duplicate class com.google.android.gms.common.api.internal.LifecycleActivity found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    51.      Duplicate class com.google.android.gms.common.api.internal.LifecycleCallback found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    52.      Duplicate class com.google.android.gms.common.api.internal.LifecycleFragment found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    53.      Duplicate class com.google.android.gms.common.api.internal.StatusExceptionMapper found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    54.      Duplicate class com.google.android.gms.common.api.internal.zza found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    55.      Duplicate class com.google.android.gms.common.api.internal.zzb found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    56.      Duplicate class com.google.android.gms.common.api.internal.zzc found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    57.      Duplicate class com.google.android.gms.common.api.internal.zzd found in modules com.google.android.gms.play-services-basement-18.1.0-runtime (:com.google.android.gms.play-services-basement-18.1.0:) and play-services-basement-16.0.1-runtime (com.google.android.gms:play-services-basement:16.0.1)
    58.      Duplicate class com.google.android.gms.common.api.zza found in modules<message truncated>
     
  6. D_Sol

    D_Sol

    Joined:
    Mar 6, 2020
    Posts:
    2
    I encountered the same problem after upgrading the IronSource plugin from version 7.3.1 to version 7.5.1.

    I fixed it this way:

    1. Delete the Assets\IronSource\Plugins\Android\IronSource.plugin folder and its metafile.
    2. In Unity Editor, go to Assets > External Dependency Manager > Android Resolver > Delete Resolved Libraries.
    3. In Unity Editor, go to Assets > External Dependency Manager > Android Resolver > Force Resolve.
    I'm not sure if the second step is necessary, but I did it for safety.

    Now I can build .aab correctly. :)
     

    Attached Files: