I got this error when i was building project. How to fix this?
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:launcher:checkReleaseDuplicateClasses’.
1 exception was raised by workers:
java.lang.RuntimeException: Duplicate class com.unity3d.ads.BuildConfig found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.IUnityAdsInitializationListener found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.IUnityAdsLoadListener found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.IUnityAdsShowListener found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.IUnityAdsTokenListener found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.UnityAds found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.UnityAds$1 found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.UnityAds$UnityAdsInitializationError found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.UnityAds$UnityAdsLoadError found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.UnityAds$UnityAdsShowCompletionState found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.UnityAds$UnityAdsShowError found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.UnityAdsBaseOptions found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.UnityAdsLoadOptions found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.UnityAdsShowOptions found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.metadata.InAppPurchaseMetaData found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.metadata.MediationMetaData found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.metadata.MetaData found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.ads.metadata.PlayerMetaData found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.BuildConfig found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.DispatchGroup found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.GMAAdsError found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.GMAEvent found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.IAdsErrorHandler found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.IScarAdListenerWrapper found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.IScarAdapter found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.IScarInterstitialAdListenerWrapper found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.IScarRewardedAdListenerWrapper found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.IUnityAdsError found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.R found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.ScarAdapterBase found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.ScarAdapterBase$1 found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.Utils found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.WebViewAdsError found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.scarads.IScarAd found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.scarads.IScarLoadListener found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.scarads.ScarAdMetadata found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.signals.ISignalCollectionListener found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.common.signals.ISignalsReader found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.BuildConfig found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.R found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.R$attr found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.R$color found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.R$dimen found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.R$drawable found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.R$id found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.R$integer found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.R$layout found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.R$string found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.R$style found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.R$styleable found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.ScarAdapter found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.ScarAdapter$1 found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.ScarAdapter$1$1 found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.ScarAdapter$2 found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.ScarAdapter$2$1 found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.scarads.ScarAdBase found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.scarads.ScarInterstitialAd found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.scarads.ScarInterstitialAdListener found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.scarads.ScarInterstitialAdListener$1 found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.scarads.ScarRewardedAd found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.scarads.ScarRewardedAdListener found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.scarads.ScarRewardedAdListener$1 found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.scarads.ScarRewardedAdListener$2 found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.signals.QueryInfoCallback found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.signals.QueryInfoMetadata found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.signals.SignalsReader found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.signals.SignalsReader$GMAScarDispatchCompleted found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1920.signals.SignalsStorage found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1950.BuildConfig found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1950.R found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1950.R$attr found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1950.R$bool found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1950.R$color found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1950.R$dimen found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1950.R$drawable found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1950.R$id found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1950.R$integer found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1950.R$layout found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1950.R$string found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d.ads:unity-ads:4.4.1)
Duplicate class com.unity3d.scar.adapter.v1950.R$style found in modules jetified-UnityAds-runtime.jar (:UnityAds:) and jetified-unity-ads-4.4.1-runtime.jar (com.unity3d