Unable to convert into dex format.
Hi. I imported googlemobileads in my project. And no problem. Everything is fine. But I want to add leaderborad. And I imported google play games. But ı can't build my project anymore.
I tried every solution in this site. But I can't fix. I found 3 duplicate files this locations in my project.
Assets\Plugins\Android Temp\StagingArea\android-libraries Temp\StagingArea\aar
I already delete "Assets\Plugins\Android\android.arch.lifecycle.runtime-1.0.0.aar" and try to build and nothing happen. When ı resolve this files is building automatic itself.
sorry for bad english.
This is console ; CommandInvokationFailure: Unable to convert classes into dex format. C:/Program Files/Java/jdk1.8.0_171\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Users/Furkan/AppData/Local/Android/Sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -
stderr[
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/api/internal/zzbr;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/api/internal/zzbs;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/api/internal/zzcc;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/api/internal/zzcd;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/api/zzd;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/api/zze;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/common/zze;
7 errors; aborting
]
stdout[
processing archive C:\Users\Furkan\Desktop\denemeler\denemeproje\Temp\StagingArea\android-libraries\GoogleMobileAdsPlugin\libs\.\unity-plugin-library.jar...
processing com/google/unity/BuildConfig.class...
processing com/google/unity/ads/AdNetworkExtras.class...
processing com/google/unity/ads/Banner.class...
processing com/google/unity/ads/Banner$1.class...
processing com/google/unity/ads/Banner$10.class...
processing com/google/unity/ads/Banner$11.class...
processing com/google/unity/ads/Banner$12.class...
processing com/google/unity/ads/Banner$13.class...
processing com/google/unity/ads/Banner$2.class...
processing com/google/unity/ads/Banner$3.class...
processing com/google/unity/ads/Banner$3$1.class...
processing com/google/unity/ads/Banner$3$2.class...
processing com/google/unity/ads/Banner$3$3.class...
processing com/google/unity/ads/Banner$3$4.class...
processing com/google/unity/ads/Banner$3$5.class...
processing com/google/unity/ads/Banner$4.class...
processing com/google/unity/ads/Banner$5.class...
processing com/google/unity/ads/Banner$6.class...
processing com/google/unity/ads/Banner$7.class...
processing com/google/unity/ads/Banner$8.class...
processing com/google/unity/ads/Banner$9.class...
processing com/google/unity/ads/CustomNativeAd.class...
processing com/google/unity/ads/CustomNativeAd$1.class...
processing com/google/unity/ads/CustomNativeAd$2.class...
processing com/google/unity/ads/Interstitial.class...
processing com/google/unity/ads/Interstitial$1.class...
processing com/google/unity/ads/Interstitial$1$1.class...
processing com/google/unity/ads/Interstitial$1$1$1.class...
processing com/google/unity/ads/Interstitial$1$1$2.class...
processing com/google/unity/ads/Interstitial$1$1$3.class...
processing com/google/unity/ads/Interstitial$1$1$4.class...
processing com/google/unity/ads/Interstitial$1$1$5.class...
processing com/google/unity/ads/Interstitial$2.class...
processing com/google/unity/ads/Interstitial$3.class...
processing com/google/unity/ads/NativeAdLoader.class...
processing com/google/unity/ads/NativeAdLoader$1.class...
processing com/google/unity/ads/NativeAdLoader$2.class...
processing com/google/unity/ads/NativeAdLoader$3.class...
processing com/google/unity/ads/NativeAdLoader$3$1.class...
processing com/google/unity/ads/NativeAdLoader$3$2.class...
processing com/google/unity/ads/NativeAdLoader$3$3.class...
processing com/google/unity/ads/NativeAdLoader$4.class...
processing com/google/unity/ads/PluginUtils.class...
processing com/google/unity/ads/RewardBasedVideo.class...
processing com/google/unity/ads/RewardBasedVideo$1.class...
processing com/google/unity/ads/RewardBasedVideo$1$1.class...
processing com/google/unity/ads/RewardBasedVideo$1$1$1.class...
processing com/google/unity/ads/RewardBasedVideo$1$1$2.class...
processing com/google/unity/ads/RewardBasedVideo$1$1$3.class...
processing com/google/unity/ads/RewardBasedVideo$1$1$4.class...
processing com/google/unity/ads/RewardBasedVideo$1$1$5.class...
processing com/google/unity/ads/RewardBasedVideo$1$1$6.class...
processing com/google/unity/ads/RewardBasedVideo$1$1$7.class...
processing com/google/unity/ads/RewardBasedVideo$1$1$8.class...
processing com/google/unity/ads/RewardBasedVideo$2.class...
processing com/google/unity/ads/RewardBasedVideo$3.class...
processing com/google/unity/ads/RewardBasedVideo$4.class...
processing com/google/unity/ads/UnityAdListener.class...
processing com/google/unity/ads/UnityAdLoaderListener.class...
processing com/google/unity/ads/UnityRewardBasedVideoAdListener.class...
processing archive C:\Users\Furkan\Desktop\denemeler\denemeproje\Temp\StagingArea\android-libraries\android.arch.lifecycle.runtime-1.0.0\libs\.\classes.jar...
processing android/arch/lifecycle/BuildConfig.class...
processing android/arch/lifecycle/LifecycleRegistry.class...
processing android/arch/lifecycle/LifecycleRegistry$1.class...
processing android/arch/lifecycle/LifecycleRegistry$ObserverWithState.class...
processing android/arch/lifecycle/LifecycleRegistryOwner.class...
processing android/arch/lifecycle/ReportFragment.class...
processing android/arch/lifecycle/ReportFragment$ActivityInitializationListener.class...
processing archive C:\Users\Furkan\Desktop\denemeler\denemeproje\Temp\StagingArea\android-libraries\com.android.support.customtabs-26.1.0\libs\.\classes.jar...
processing android/support/customtabs/BuildConfig.class...
processing android/support/customtabs/CustomTabsCallback.class...
processing android/support/customtabs/CustomTabsClient.class...
processing android/support/customtabs/CustomTabsClient$1.class...
processing android/support/customtabs/CustomTabsClient$2.class...
processing android/support/customtabs/CustomTabsClient$2$1.class...
processing android/support/customtabs/CustomTabsClient$2$2.class...
processing android/support/customtabs/CustomTabsClient$2$3.class...
processing android/support/customtabs/CustomTabsClient$2$4.class...
processing android/support/customtabs/CustomTabsIntent.class...
processing android/support/customtabs/CustomTabsIntent$1.class...
processing android/support/customtabs/CustomTabsIntent$Builder.class...
processing android/support/customtabs/CustomTabsService.class...
processing android/support/customtabs/CustomTabsService$1.class...
processing android/support/customtabs/CustomTabsService$1$1.class...
processing android/support/customtabs/CustomTabsService$Result.class...
processing android/support/customtabs/CustomTabsServiceConnection.class...
processing android/support/customtabs/CustomTabsServiceConnection$1.class...
processing android/support/customtabs/CustomTabsSession.class...
processing android/support/customtabs/CustomTabsSessionToken.class...
processing android/support/customtabs/CustomTabsSessionToken$1.class...
processing android/support/customtabs/ICustomTabsCallback.class...
processing android/support/customtabs/ICustomTabsCallback$Stub.class...
processing android/support/customtabs/ICustomTabsCallback$Stub$Proxy.class...
processing android/support/customtabs/ICustomTabsService.class...
processing android/support/customtabs/ICustomTabsService$Stub.class...
processing android/support/customtabs/ICustomTabsService$Stub$Proxy.class...
processing android/support/customtabs/IPostMessageService.class...
processing android/support/customtabs/IPostMessageService$Stub.class...
processing android/support/customtabs/IPostMessageService$Stub$Proxy.class...
processing android/support/customtabs/PostMessageService.class...
processing android/support/customtabs/PostMessageService$1.class...
processing android/support/customtabs/PostMessageServiceConnection.class...
processing archive C:\Users\Furkan\Desktop\denemeler\denemeproje\Temp\StagingArea\android-libraries\com.android.support.support-compat-26.1.0\libs\.\classes.jar...
processing android/support/compat/BuildConfig.class...
processing android/support/v4/accessibilityservice/AccessibilityServiceInfoCompat.class...
processing android/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoApi16Impl.class...
processing android/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoApi18Impl.class...
processing android/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoBaseImpl.class...
processing android/support/v4/app/ActivityCompat.class...
processing android/support/v4/app/ActivityCompat$1.class...
processing android/support/v4/app/ActivityCompat$OnRequestPermissionsResultCallback.class...
processing android/support/v4/app/ActivityCompat$RequestPermissionsRequestCodeValidator.class...
processing android/support/v4/app/ActivityCompat$SharedElementCallback21Impl.class...
processing android/support/v4/app/ActivityCompat$SharedElementCallback23Impl.class...
processing android/support/v4/app/ActivityCompat$SharedElementCallback23Impl$1.class...
processing android/support/v4/app/ActivityManagerCompat.class...
processing android/support/v4/app/ActivityOptionsCompat.class...
processing android/support/v4/app/ActivityOptionsCompat$ActivityOptionsCompatApi16Impl.class...
processing android/support/v4/app/ActivityOptionsCompat$ActivityOptionsCompatApi23Impl.class...
processing android/support/v4/app/ActivityOptionsCompat$ActivityOptionsCompatApi24Impl.class...
processing android/support/v4/app/AlarmManagerCompat.class...
processing android/support/v4/app/AppOpsManagerCompat.class...
processing android/support/v4/app/BundleCompat.class...
processing android/support/v4/app/BundleCompat$BundleCompatBaseImpl.class...
processing android/support/v4/app/BundleUtil.class...
processing android/support/v4/app/INotificationSideChannel.class...
processing android/support/v4/app/INotificationSideChannel$Stub.class...
processing android/support/v4/app/INotificationSideChannel$Stub$Proxy.class...
processing android/support/v4/app/JobIntentService.class...
processing android/support/v4/app/JobIntentService$CommandProcessor.class...
processing android/support/v4/app/JobIntentService$CompatJobEngine.class...
processing android/support/v4/app/JobIntentService$CompatWorkEnqueuer.class...
processing android/support/v4/app/JobIntentService$CompatWorkItem.class...
processing android/support/v4/app/JobIntentService$GenericWorkItem.class...
processing android/support/v4/app/JobIntentService$JobServiceEngineImpl.class...
processing android/support/v4/app/JobIntentService$JobServiceEngineImpl$WrapperWorkItem.class...
processing android/support/v4/app/JobIntentService$JobWorkEnqueuer.class...
processing android/support/v4/app/JobIntentService$WorkEnqueuer.class...
processing android/support/v4/app/NotificationBuilderWithActions.class...
processing android/support/v4/app/NotificationBuilderWithBuilderAccessor.class...
processing android/support/v4/app/NotificationCompat.class...
processing android/support/v4/app/NotificationCompat$Action.class...
processing android/support/v4/app/NotificationCompat$Action$1.class...
processing android/support/v4/app/NotificationCompat$Action$Builder.class...
processing android/support/v4/app/NotificationCompat$Action$Extender.class...
processing android/support/v4/app/NotificationCompat$Action$WearableExtender.class...
processing android/support/v4/app/NotificationCompat$BadgeIconType.class...
processing android/support/v4/app/NotificationCompat$BigPictureStyle.class...
processing android/support/v4/app/NotificationCompat$BigTextStyle.class...
processing android/support/v4/app/NotificationCompat$Builder.class...
processing android/support/v4/app/NotificationCompat$BuilderExtender.class...
processing android/support/v4/app/NotificationCompat$CarExtender.class...
processing android/support/v4/app/NotificationCompat$CarExtender$UnreadConversation.class...
processing android/support/v4/app/NotificationCompat$CarExtender$UnreadConversation$1.class...
processing android/support/v4/app/NotificationCompat$CarExtender$UnreadConversation$Builder.class...
processing android/support/v4/app/NotificationCompat$DecoratedCustomViewStyle.class...
processing android/support/v4/app/NotificationCompat$Extender.class...
processing android/support/v4/app/NotificationCompat$InboxStyle.class...
processing android/support/v4/app/NotificationCompat$MessagingStyle.class...
processing android/support/v4/app/NotificationCompat$MessagingStyle$Message.class...
processing android/support/v4/app/NotificationCompat$NotificationCompatApi16Impl.class...
processing android/support/v4/app/NotificationCompat$NotificationCompatApi19Impl.class...
processing android/support/v4/app/NotificationCompat$NotificationCompatApi20Impl.class...
processing android/support/v4/app/NotificationCompat$NotificationCompatApi21Impl.class...
processing android/support/v4/app/NotificationCompat$NotificationCompatApi24Impl.class...
processing android/support/v4/app/NotificationCompat$NotificationCompatApi26Impl.class...
processing android/support/v4/app/NotificationCompat$NotificationCompatBaseImpl.class...
processing android/support/v4/app/NotificationCompat$NotificationCompatBaseImpl$BuilderBase.class...
processing android/support/v4/app/NotificationCompat$NotificationCompatImpl.class...
processing android/support/v4/app/NotificationCompat$NotificationVisibility.class...
processing android/support/v4/app/NotificationCompat$Style.class...
processing android/support/v4/app/NotificationCompat$WearableExtender.class...
processing android/support/v4/app/NotificationCompatApi20.class...
processing android/support/v4/app/NotificationCompatApi20$Builder.class...
processing android/support/v4/app/NotificationCompatApi21.class...
processing android/support/v4/app/NotificationCompatApi21$Builder.class...
processing android/support/v4/app/NotificationCompatApi24.class...
processing android/support/v4/app/NotificationCompatApi24$Builder.class...
processing android/support/v4/app/NotificationCompatApi26.class...
processing android/support/v4/app/NotificationCompatApi26$Builder.class...
processing android/support/v4/app/NotificationCompatBase.class...
processing android/support/v4/app/NotificationCompatBase$Action.class...
processing android/support/v4/app/NotificationCompatBase$Action$Factory.class...
processing android/support/v4/app/NotificationCompatBase$UnreadConversation.class...
processing android/support/v4/app/NotificationCompatBase$UnreadConversation$Factory.class...
processing android/support/v4/app/NotificationCompatExtras.class...
processing android/support/v4/app/NotificationCompatJellybean.class...
processing android/support/v4/app/NotificationCompatJellybean$Builder.class...
processing android/support/v4/app/NotificationCompatKitKat.class...
processing android/support/v4/app/NotificationCompatKitKat$Builder.class...
processing android/support/v4/app/NotificationCompatSideChannelService.class...
processing android/support/v4/app/NotificationCompatSideChannelService$NotificationSideChannelStub.class...
processing android/support/v4/app/NotificationManagerCompat.class...
processing android/support/v4/app/NotificationManagerCompat$CancelTask.class...
processing android/support/v4/app/NotificationManagerCompat$NotifyTask.class...
processing android/support/v4/app/NotificationManagerCompat$ServiceConnectedEvent.class...
processing android/support/v4/app/NotificationManagerCompat$SideChannelManager.class...
processing android/support/v4/app/NotificationManagerCompat$SideChannelManager$ListenerRecord.class...
processing android/support/v4/app/NotificationManagerCompat$Task.class...
processing android/support/v4/app/RemoteInput.class...
processing android/support/v4/app/RemoteInput$1.class...
processing android/support/v4/app/RemoteInput$Builder.class...
processing android/support/v4/app/RemoteInput$Impl.class...
processing android/support/v4/app/RemoteInput$ImplApi20.class...
processing android/support/v4/app/RemoteInput$ImplBase.class...
processing android/support/v4/app/RemoteInput$ImplJellybean.class...
processing android/suppor<message truncated>
Your answer
Follow this Question
Related Questions
Do manifest files work the same way in a Unity gradle build vs. an exported one? 0 Answers
Unable to merge android manifests 0 Answers
Google mobile ads not working after installing google play services 2 Answers
Admob interstitial is not working as it keeps conflicting with the leader board and google play 0 Answers
What is a Keystore 1 Answer