Failure to build about Google Play Billing And Unity IAP

Unity Version: 2019.4.18f1
build OS: Android


imported plugin list

  1. FirebaseDatabase (dotnet4)

  2. google-play-plugins-1.3.0

  3. GoogleMobileAds-v5.4.0

  4. GooglePlayGamesPlugin-0.10.12


Context of this file: “launcherTemplate.gradle”
// GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN

apply plugin: ‘com.android.application’

dependencies {
implementation project(‘:unityLibrary’)
implementation ‘androidx.multidex:multidex:2.0.1’
}

android {
compileSdkVersion APIVERSION
buildToolsVersion ‘BUILDTOOLS

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

defaultConfig {
    minSdkVersion **MINSDKVERSION**
    targetSdkVersion **TARGETSDKVERSION**

    multiDexEnabled true

    applicationId '**APPLICATIONID**'
    ndk {
        abiFilters **ABIFILTERS**
    }
    versionCode **VERSIONCODE**
    versionName '**VERSIONNAME**'
}

aaptOptions {
    noCompress = ['.unity3d', '.ress', '.resource', '.obb'**STREAMING_ASSETS**]
    ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~"
}**SIGN**

lintOptions {
    abortOnError false
}

buildTypes {
    debug {
        minifyEnabled **MINIFY_DEBUG**
        useProguard **PROGUARD_DEBUG**
        proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**
        jniDebuggable true
    }
    release {
        minifyEnabled **MINIFY_RELEASE**
        useProguard **PROGUARD_RELEASE**
        proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG**
    }
}**PACKAGING_OPTIONS****SPLITS**

BUILT_APK_LOCATION
bundle {
language {
enableSplit = false
}
density {
enableSplit = false
}
abi {
enableSplit = true
}
}
}SPLITS_VERSION_CODE****LAUNCHER_SOURCE_BUILD_SETUP


Project Setting → Player
174778-q1.png

174779-q2.png


Error Message:
Starting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be reused, use --status for details

Configure project :launcher
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\28.0.3\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK ools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\28.0.3\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK ools\package.xml. Probably the SDK is read-only

Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preBuild UP-TO-DATE
Task :unityLibrary:preBuild UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.plugin:preBuild UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:preBuild UP-TO-DATE
Task :launcher:preBuild UP-TO-DATE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preReleaseBuild UP-TO-DATE
Task :unityLibrary:preReleaseBuild UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.plugin:preReleaseBuild UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:preReleaseBuild UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.plugin:checkReleaseManifest
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:checkReleaseManifest
Task :unityLibrary:FirebaseApp.androidlib:checkReleaseManifest
Task :unityLibrary:checkReleaseManifest
Task :launcher:prepareLintJar
Task :unityLibrary:processReleaseManifest
Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseManifest
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseAidl NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.plugin:processReleaseManifest
Task :unityLibrary:FirebaseApp.androidlib:processReleaseManifest
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseAidl NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:compileReleaseAidl NO-SOURCE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.plugin:packageReleaseRenderscript NO-SOURCE
Task :unityLibrary:generateReleaseBuildConfig
Task :unityLibrary:FirebaseApp.androidlib:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResValues
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResources
Task :unityLibrary:compileReleaseAidl NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseResValues
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseResources
Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseResValues
Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseResources
Task :unityLibrary:generateReleaseResValues
Task :unityLibrary:generateReleaseResources
Task :unityLibrary:GooglePlayGamesManifest.plugin:packageReleaseResources
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseResources
Task :unityLibrary:FirebaseApp.androidlib:packageReleaseResources
Task :unityLibrary:packageReleaseResources
Task :unityLibrary:prepareLintJar
Task :unityLibrary:generateReleaseSources
Task :unityLibrary:prepareLintJarForPublish
Task :unityLibrary:mergeReleaseShaders
Task :unityLibrary:compileReleaseShaders
Task :unityLibrary:generateReleaseAssets
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseRFile
Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseRFile
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseRFile
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseBuildConfig
Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseBuildConfig
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:prepareLintJar
Task :unityLibrary:GooglePlayGamesManifest.plugin:prepareLintJar
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseSources
Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseSources
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseBuildConfig
Task :unityLibrary:FirebaseApp.androidlib:prepareLintJar
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseSources
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:javaPreCompileRelease
Task :unityLibrary:GooglePlayGamesManifest.plugin:javaPreCompileRelease
Task :unityLibrary:FirebaseApp.androidlib:javaPreCompileRelease
Task :unityLibrary:packageReleaseAssets
Task :launcher:preReleaseBuild
Task :launcher:compileReleaseAidl NO-SOURCE
Task :launcher:compileReleaseRenderscript NO-SOURCE
Task :launcher:checkReleaseManifest
Task :launcher:generateReleaseBuildConfig
Task :launcher:generateReleaseSources
Task :launcher:mainApkListPersistenceRelease
Task :launcher:generateReleaseResValues
Task :launcher:generateReleaseResources
Task :unityLibrary:generateReleaseRFile
Task :unityLibrary:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseJavaWithJavac
Task :unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseJavaWithJavac
Task :unityLibrary:FirebaseApp.androidlib:compileReleaseJavaWithJavac
Task :unityLibrary:FirebaseApp.androidlib:bundleLibCompileRelease
Task :unityLibrary:GooglePlayGamesManifest.plugin:bundleLibCompileRelease
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibCompileRelease
Task :unityLibrary:FirebaseApp.androidlib:prepareLintJarForPublish
Task :unityLibrary:GooglePlayGamesManifest.plugin:prepareLintJarForPublish
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:prepareLintJarForPublish
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseShaders
Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseShaders
Task :unityLibrary:GooglePlayGamesManifest.plugin:mergeReleaseShaders
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseShaders
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseAssets
Task :unityLibrary:FirebaseApp.androidlib:compileReleaseShaders
Task :unityLibrary:GooglePlayGamesManifest.plugin:compileReleaseShaders
Task :unityLibrary:FirebaseApp.androidlib:generateReleaseAssets
Task :unityLibrary:GooglePlayGamesManifest.plugin:generateReleaseAssets
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseAssets
Task :unityLibrary:FirebaseApp.androidlib:packageReleaseAssets
Task :unityLibrary:GooglePlayGamesManifest.plugin:packageReleaseAssets
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibRuntimeRelease
Task :unityLibrary:GooglePlayGamesManifest.plugin:bundleLibRuntimeRelease
Task :unityLibrary:FirebaseApp.androidlib:bundleLibRuntimeRelease
Task :unityLibrary:GooglePlayGamesManifest.plugin:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:FirebaseApp.androidlib:processReleaseJavaRes NO-SOURCE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibResRelease
Task :unityLibrary:FirebaseApp.androidlib:bundleLibResRelease
Task :unityLibrary:GooglePlayGamesManifest.plugin:bundleLibResRelease
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseJniLibFolders
Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseJniLibFolders
Task :unityLibrary:GooglePlayGamesManifest.plugin:mergeReleaseJniLibFolders
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:transformNativeLibsWithMergeJniLibsForRelease
Task :unityLibrary:GooglePlayGamesManifest.plugin:transformNativeLibsWithMergeJniLibsForRelease
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:transformNativeLibsWithStripDebugSymbolForRelease
Task :unityLibrary:GooglePlayGamesManifest.plugin:transformNativeLibsWithStripDebugSymbolForRelease
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:transformNativeLibsWithIntermediateJniLibsForRelease
Task :unityLibrary:GooglePlayGamesManifest.plugin:transformNativeLibsWithIntermediateJniLibsForRelease
Task :unityLibrary:mergeReleaseJniLibFolders
Task :unityLibrary:FirebaseApp.androidlib:transformNativeLibsWithMergeJniLibsForRelease
Task :unityLibrary:FirebaseApp.androidlib:transformNativeLibsWithStripDebugSymbolForRelease
Task :unityLibrary:FirebaseApp.androidlib:transformNativeLibsWithIntermediateJniLibsForRelease
Task :unityLibrary:javaPreCompileRelease

Task :unityLibrary:compileReleaseJavaWithJavac

Task :unityLibrary:bundleLibCompileRelease
Task :unityLibrary:bundleLibRuntimeRelease
Task :unityLibrary:bundleLibResRelease
Task :unityLibrary:transformNativeLibsWithMergeJniLibsForRelease
Task :unityLibrary:transformNativeLibsWithStripDebugSymbolForRelease
Task :unityLibrary:transformNativeLibsWithIntermediateJniLibsForRelease
Task :launcher:mergeReleaseResources
Task :launcher:javaPreCompileRelease
Task :launcher:createReleaseCompatibleScreenManifests

Task :launcher:processReleaseManifest
D:\SVN\CodeTotem\FollowTiles\Temp\gradleOut\launcher\src\main\AndroidManifest.xml:27:9-34:50 Warning:
activity#com.google.firebase.auth.internal.FederatedSignInActivity@android:launchMode was tagged at AndroidManifest.xml:27 to replace other declarations but no other declaration present
D:\SVN\CodeTotem\FollowTiles\Temp\gradleOut\launcher\src\main\AndroidManifest.xml:27:9-34:50 Warning:
activity#com.google.firebase.auth.internal.FederatedSignInActivity@android:launchMode was tagged at AndroidManifest.xml:27 to replace other declarations but no other declaration present

Task :launcher:processReleaseResources
Task :launcher:compileReleaseJavaWithJavac
Task :launcher:compileReleaseSources
Task :launcher:lintVitalRelease
Task :launcher:mergeReleaseShaders
Task :launcher:compileReleaseShaders
Task :launcher:generateReleaseAssets
Task :launcher:mergeReleaseAssets
Task :launcher:validateSigningRelease
Task :launcher:signingConfigWriterRelease
Task :launcher:checkReleaseDuplicateClasses FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use ‘–warning-mode all’ to show the individual deprecation warnings.
See Command-Line Interface
99 actionable tasks: 99 executed

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Note: D:\SVN\CodeTotem\FollowTiles\Temp\gradleOut\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’.

1 exception was raised by workers:
java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class com.android.billingclient.BuildConfig found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.AccountIdentifiers found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.AcknowledgePurchaseParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.AcknowledgePurchaseParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.AcknowledgePurchaseResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClient found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClient$BillingResponseCode found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClient$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClient$FeatureType found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClient$SkuType found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClientImpl found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClientImpl$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClientImpl$zzb found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClientStateListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingFlowParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingFlowParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingFlowParams$ProrationMode found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingResult found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingResult$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.ConsumeParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.ConsumeParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.ConsumeResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.PriceChangeConfirmationListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.PriceChangeFlowParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.PriceChangeFlowParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.ProxyBillingActivity found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.Purchase found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.Purchase$PurchaseState found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.Purchase$PurchasesResult found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.PurchaseHistoryRecord found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.PurchaseHistoryResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.PurchasesUpdatedListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.SkuDetails found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.SkuDetails$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.SkuDetailsParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.SkuDetailsParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.SkuDetailsResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzaa found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzab found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzac found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzad found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzae found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzaf found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzag found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzah found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzai found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzaj found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzak found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzal found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzam found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzan found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzao found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzap found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzap$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzb found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzb$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzc found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzd found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zze found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzf found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzg found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzh found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzi found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzj found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzk found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzl found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzm found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzn found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzo found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzp found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzq found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzr found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzs found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzt found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzu found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzv found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzw found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzx found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzy found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzz found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zzb found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zzc found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zzd found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zze found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zzf found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zzg found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zzh found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)

Go to the documentation to learn how to Fix dependency resolution errors.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 12s
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
CommandInvokationFailure: Gradle build failed.
C:/Program Files/Unity/Hub/Editor/2019.4.18f1/Editor/Data/PlaybackEngines/AndroidPlayer\OpenJDK\bin\java.exe -classpath “C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar” org.gradle.launcher.GradleMain “-Dorg.gradle.jvmargs=-Xmx4096m” “assembleRelease”

stderr[
Note: D:\SVN\CodeTotem\FollowTiles\Temp\gradleOut\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’.

1 exception was raised by workers:
java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class com.android.billingclient.BuildConfig found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.AccountIdentifiers found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.AcknowledgePurchaseParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.AcknowledgePurchaseParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.AcknowledgePurchaseResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClient found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClient$BillingResponseCode found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClient$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClient$FeatureType found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClient$SkuType found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClientImpl found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClientImpl$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClientImpl$zzb found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingClientStateListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingFlowParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingFlowParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingFlowParams$ProrationMode found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingResult found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.BillingResult$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.ConsumeParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.ConsumeParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.ConsumeResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.PriceChangeConfirmationListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.PriceChangeFlowParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.PriceChangeFlowParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.ProxyBillingActivity found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.Purchase found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.Purchase$PurchaseState found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.Purchase$PurchasesResult found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.PurchaseHistoryRecord found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.PurchaseHistoryResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.PurchasesUpdatedListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.SkuDetails found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.SkuDetails$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.SkuDetailsParams found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.SkuDetailsParams$Builder found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.SkuDetailsResponseListener found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzaa found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzab found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzac found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzad found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzae found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzaf found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzag found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzah found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzai found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzaj found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzak found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzal found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzam found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzan found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzao found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzap found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzap$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzb found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzb$zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzc found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzd found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zze found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzf found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzg found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzh found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzi found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzj found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzk found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzl found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzm found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzn found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzo found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzp found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzq found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzr found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzs found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzt found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzu found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzv found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzw found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzx found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzy found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.android.billingclient.api.zzz found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zza found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zzb found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zzc found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zzd found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zze found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zzf found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zzg found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)
Duplicate class com.google.android.gms.internal.play_billing.zzh found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)

Go to the documentation to learn how to Fix dependency resolution errors.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 12s
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
]
stdout[
Starting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be reused, use --status for details

Configure project :launcher
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\28.0.3\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK ools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\28.0.3\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK ools\package.xml. Probably the SDK is read-only

Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preBuild UP-TO-DATE
Task :unityLibrary:preBuild UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManifest.plugin:preBuild UP-TO-DATE
Task :unityLibrary:FirebaseApp.androidlib:preBuild UP-TO-DATE
Task :launcher:preBuild UP-TO-DATE
Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preReleaseBuild UP-TO-DATE
Task :unityLibrary:preReleaseBuild UP-TO-DATE
Task :unityLibrary:GooglePlayGamesManife
Build completed with a result of ‘Failed’ in 97 seconds (96992 ms)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bf] in :0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in :0
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


In conclusion,

When Google Play Billing is imported, Playing editor and building is Activated well.
However, When I import Unity IAP, Editor play is working.
But Building get failure.
And then i got the error message.

Additionally, importing IAP package and resisting Unity Analystics is done normally.

Please help me.

I have solved my problem.

What I’ve done is deleting GooglePayPlugin.

It must not install GooglePayPlugin and Unity IAP together.

You guys should select one of them to solve this problem

I ran into the same issue. To make it work, go to
Assets/GooglePlayPlugins

and delete ONLY the com.google.play.billing
There is no need to delete the entire GooglePlayPlugins folder.

“Duplicate class com.android.billingclient.api.AccountIdentifiers found in modules classes.jar (:GooglePlayBilling:) and classes.jar (:billing-3.0.1:)” make sure you dont have 2 “classes.jar” inside the same project, if you do have both, try removing one