Unable to convert classes into dex format.

Issue #246 resolved
Former user created an issue
Hi~ I just bought Odin, install and build my project but error has occurred. (Set Odin to Editer only mode or not that problem occurred.) When I build my project "Unable to convert classes into dex format." popup appeared and build failed. How can I fix it? I'm using Unity 2017.2 below is full error log. ----------------------------------------------------------------------------------------------- CommandInvokationFailure: Unable to convert classes into dex format. C:/Program Files/Java/jdk1.8.0_144\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/AndroidSDK\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: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoIcsImpl; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoJellyBeanMr2; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoStubImpl; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompatIcs; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompatJellyBeanMr2; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/animation/AnimatorCompatHelper; Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroid/support/v4/animation/AnimatorListenerCompat; UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.RuntimeException: Translation has been interrupted Caused by: java.lang.InterruptedException: Too many errors ... 9 more ] stdout[ processing archive C:\UnityWorkSPace_2017\GAS_20171025_VERSION_UP\Temp\StagingArea\android-libraries\an_billing\libs\.\classes.jar... processing com/android/vending/billing/IInAppBillingService.class... processing com/android/vending/billing/IInAppBillingService$Stub.class... processing com/android/vending/billing/IInAppBillingService$Stub$Proxy.class... processing com/androidnative/billing/core/AN_BillingProxyActivity.class... processing com/androidnative/billing/core/AN_BillingProxyActivity$1.class... processing com/androidnative/billing/core/BillingHelper.class... processing com/androidnative/billing/core/BillingHelper$1.class... processing com/androidnative/billing/core/BillingHelper$2.class... processing com/androidnative/billing/core/BillingHelper$2$1.class... processing com/androidnative/billing/core/BillingHelper$3.class... processing com/androidnative/billing/core/BillingHelper$3$1.class... processing com/androidnative/billing/core/BillingHelper$3$2.class... processing com/androidnative/billing/core/BillingManager.class... processing com/androidnative/billing/core/BillingManager$1.class... processing com/androidnative/billing/core/BillingManager$2.class... processing com/androidnative/billing/core/BillingManager$3.class... processing com/androidnative/billing/core/listeners/AN_PurchaseFinishedListener.class... processing com/androidnative/billing/core/listeners/AN_QueryInventoryFinishedListener.class... processing com/androidnative/billing/interfaces/OnBillingPurchaseFinishedListener.class... processing com/androidnative/billing/interfaces/OnBillingSetupFinishedListener.class... processing com/androidnative/billing/interfaces/OnConsumeFinishedListener.class... processing com/androidnative/billing/interfaces/OnConsumeMultiFinishedListener.class... processing com/androidnative/billing/interfaces/QueryInventoryFinishedListener.class... processing com/androidnative/billing/models/BillingException.class... processing com/androidnative/billing/models/BillingResult.class... processing com/androidnative/billing/models/Inventory.class... processing com/androidnative/billing/models/Purchase.class... processing com/androidnative/billing/models/Security.class... processing com/androidnative/billing/models/SkuDetails.class... processing com/androidnative/billing/util/Base64.class... processing com/androidnative/billing/util/Base64DecoderException.class... processing com/stansassets/billing/BuildConfig.class... processing archive C:\UnityWorkSPace_2017\GAS_20171025_VERSION_UP\Temp\StagingArea\android-libraries\an_googleplay\libs\.\classes.jar... processing com/androidnative/gcm/CloudMessagingManager.class... processing com/androidnative/gcm/CloudMessagingManager$1.class... processing com/androidnative/gcm/GcmBroadcastReceiver.class... processing com/androidnative/gcm/GcmIntentService.class... processing com/androidnative/gcm/PictureLoadingListener.class... processing com/androidnative/gcm/PictureLoadingTask.class... processing com/androidnative/gcm/PictureLoadingTaskListener.class... processing com/androidnative/gms/ad/ANMobileAd.class... processing com/androidnative/gms/ad/GADBanner.class... processing com/androidnative/gms/ad/GADBanner$1.class... processing com/androidnative/gms/ad/InterstitialAdListner.class... processing com/androidnative/gms/ad/RewardedAdListener.class... processing com/androidnative/gms/analytics/AN_AnalyticsProxy.class... processing com/androidnative/gms/analytics/V4GoogleAnalytics.class... processing com/androidnative/gms/core/AppInvitesController.class... processing com/androidnative/gms/core/GameClientBridge.class... processing com/androidnative/gms/core/GameClientManager.class... processing com/androidnative/gms/core/GameClientManager$1.class... processing com/androidnative/gms/core/GameClientManager$2.class... processing com/androidnative/gms/core/GameClientManager$3.class... processing com/androidnative/gms/core/GameClientManager$4.class... processing com/androidnative/gms/core/GameClientManager$5.class... processing com/androidnative/gms/core/GameClientManager$6.class... processing com/androidnative/gms/core/GameInvitationManager.class... processing com/androidnative/gms/core/GooglePlaySupportActivity.class... processing com/androidnative/gms/core/NewGameHelper.class... processing com/androidnative/gms/listeners/appInvite/AppInviteListner.class... processing com/androidnative/gms/listeners/games/AchievementsLoadListner.class... processing com/androidnative/gms/listeners/games/AchievementsUpdateListner.class... processing com/androidnative/gms/listeners/games/LeaderBoardScoreLoaded.class... processing com/androidnative/gms/listeners/games/LeaderBoardsLoadedListener.class... processing com/androidnative/gms/listeners/games/PlayerResultListner.class... processing com/androidnative/gms/listeners/games/PlayerScoreUpdateListner.class... processing com/androidnative/gms/listeners/games/ScoreSubmitedListner.class... processing com/androidnative/gms/listeners/network/AN_OnInvitationReceivedListener.class... processing com/androidnative/gms/listeners/network/AN_RealTimeMessageReceivedListener.class... processing com/androidnative/gms/listeners/network/AN_ReliableMessageSentCallback.class... processing com/androidnative/gms/listeners/network/AN_RoomStatusUpdateListener.class... processing com/androidnative/gms/listeners/network/AN_RoomUpdateListener.class... processing com/androidnative/gms/listeners/quests/AN_AcceptQuestResultListner.class... processing com/androidnative/gms/listeners/quests/AN_ClaimMilestoneResult.class... processing com/androidnative/gms/listeners/quests/AN_EventsLoadListner.class... processing com/androidnative/gms/listeners/quests/AN_LoadQuestsResult.class... processing com/androidnative/gms/listeners/quests/AN_QuestUpdateListener.class... processing com/androidnative/gms/listeners/requests/AN_LoadRequestsResultListner.class... processing com/androidnative/gms/listeners/requests/AN_UpdateRequestsResultListner.class... processing com/androidnative/gms/listeners/savedgames/DeleteSnapShotListner.class... processing com/androidnative/gms/listeners/savedgames/DeleteSpapShotResultListner.class... processing com/androidnative/gms/listeners/savedgames/LoadSnapshotsResultListner.class... processing com/androidnative/gms/listeners/savedgames/OpenSnapshotListner.class... processing com/androidnative/gms/listeners/savedgames/SnapshotCreateListner.class... processing com/androidnative/gms/listeners/savedgames/SnapshotMetadataChangeListner.class... processing com/androidnative/gms/listeners/tbm/AN_OnCancelMatchResult.class... processing com/androidnative/gms/listeners/tbm/AN_OnInvitationAcceptedCallback.class... processing com/androidnative/gms/listeners/tbm/AN_OnLeaveMatchResult.class... processing com/androidnative/gms/listeners/tbm/AN_OnLoadInvitationsResult.class... processing com/androidnative/gms/listeners/tbm/AN_OnLoadMatchResult.class... processing com/androidnative/gms/listeners/tbm/AN_OnLoadMatchesResult.class... processing com/androidnative/gms/listeners/tbm/AN_OnMatchInitiatedCallback.class... processing com/androidnative/gms/listeners/tbm/AN_OnTurnBasedMatchUpdateReceivedListener.class... processing com/androidnative/gms/listeners/tbm/AN_OnTurnResult.class... processing com/androidnative/gms/listeners/tbm/AN_OnUpdateMatchResult.class... processing com/androidnative/gms/network/RealTimeMultiplayerController.class... processing com/androidnative/gms/network/TurnBasedMultiplayerController.class... processing com/androidnative/gms/plus/controllers/AN_PlusButtonController.class... processing com/androidnative/gms/plus/models/AN_PlusButton.class... processing com/androidnative/gms/plus/models/AN_PlusButton$1.class... processing com/androidnative/gms/utils/AN_IdFactory.class... processing com/androidnative/gms/utils/AnUtility.class... processing com/androidnative/gms/utils/Base64.class... processing com/androidnative/gms/utils/Base64DecoderException.class... processing com/androidnative/gms/utils/PS_Utility.class... processing com/androidnative/gms/utils/PS_Utility$1.class... processing com/example/an_googleplay/BuildConfig.class... processing archive C:\UnityWorkSPace_2017\GAS_20171025_VERSION_UP\Temp\StagingArea\android-libraries\androidnative\libs\.\classes.jar... processing com/androidnative/AN_Bridge.class... processing com/androidnative/AndroidNativeBridge.class... processing com/androidnative/AndroidNativeProxy.class... processing com/androidnative/OAuthProxyActivity.class... processing com/androidnative/OAuthProxyActivity$OAuthProxyWebViewClient.class... processing com/androidnative/features/AN_TV.class... processing com/androidnative/features/AppInfoLoader.class... processing com/androidnative/features/CameraAPI.class... processing com/androidnative/features/ImmersiveMode.class... processing com/androidnative/features/ImmersiveMode$1.class... processing com/androidnative/features/ImmersiveMode$2.class... processing com/androidnative/features/ImmersiveMode$3.class... processing com/androidnative/features/common/AddressBookManager.class... processing com/androidnative/features/common/AndroidNativeUtility.class... processing com/androidnative/features/notifications/LocalNotificationManager.class... processing com/androidnative/features/notifications/LocalNotificationReceiver.class... processing com/androidnative/features/notifications/LocalNotificationService.class... processing com/androidnative/features/notifications/LocalNotificationsController.class... processing com/androidnative/features/permissions/PermissionsManager.class... processing com/androidnative/firebase/analytics/Bridge.class... processing com/androidnative/firebase/analytics/Manager.class... processing com/androidnative/firebase/dynamiclinks/Bridge.class... processing com/androidnative/firebase/dynamiclinks/DynamicLinksHandleActivity.class... processing com/androidnative/firebase/dynamiclinks/DynamicLinksHandleActivity$1.class... processing com/androidnative/firebase/dynamiclinks/DynamicLinksHandleActivity$2.class... processing com/androidnative/firebase/dynamiclinks/Manager.class... processing com/androidnative/firebase/dynamiclinks/Manager$1.class... processing com/androidnative/licensing/AppLicenseCheckerCallback.class... processing com/androidnative/licensing/LicenseManager.class... processing com/androidnative/popups/PopUpsManager.class... processing com/androidnative/popups/PopUpsManager$1.class... processing com/androidnative/popups/PopUpsManager$2.class... processing com/androidnative/popups/PopUpsManager$3.class... processing com/androidnative/test/AN_Test.class... processing com/androidnative/utils/AN_Logger.class... processing com/androidnative/utils/Base64.class... processing com/androidnative/utils/Base64DecoderException.class... processing com/androidnative/utils/NativeUtility.class... processing com/example/androidnative/BuildConfig.class... processing archive C:\UnityWorkSPace_2017\GAS_20171025_VERSION_UP\Temp\StagingArea\android-libraries\mobile-native-popups\libs\.\classes.jar... processing com/stansassets/mnp/BuildConfig.class... processing com/stansassets/mnp/DialogDispatcher.class... processing com/stansassets/mnp/DialogDispatcher$1.class... processing com/stansassets/mnp/DialogDispatcher$2.class... processing com/stansassets/mnp/MnpUtils.class... processing com/stansassets/mnp/NativePopupsManager.class... processing archive C:\UnityWorkSPace_2017\GAS_20171025_VERSION_UP\Temp\StagingArea\android-libraries\play-services-appinvite\libs\.\classes.jar... ignored resource META-INF/ ignored resource META-INF/MANIFEST.MF ignored resource com/ ignored resource com/google/ ignored resource com/google/android/ ignored resource com/google/android/gms/ ignored resource com/google/android/gms/appinvite/ processing com/google/android/gms/appinvite/AppInvite.class... processing com/google/android/gms/appinvite/AppInviteApi.class... processing com/google/android/gms/appinvite/AppInviteInvitation.class... processing com/google/android/gms/appinvite/AppInviteInvitation$IntentBuilder.class... processing com/google/android/gms/appinvite/AppInviteInvitation$IntentBuilder$PlatformMode.class... processing com/google/android/gms/appinvite/AppInviteInvitationResult.class... processing com/google/android/gms/appinvite/AppInviteReferral.class... processing com/google/android/gms/appinvite/PreviewActivity.class... processing com/google/android/gms/appinvite/zza.class... processing com/google/android/gms/appinvite/zzb.class... ignored resource com/google/android/gms/internal/ processing com/google/android/gms/internal/io.class... processing com/google/android/gms/internal/zzapy.class... processing com/google/android/gms/internal/zzapz.class... processing com/google/android/gms/internal/zzaqa.class... processing com/google/android/gms/internal/zzaqb.class... processing com/google/android/gms/internal/zzaqc.class... processing com/google/android/gms/internal/zzaqd.class... processing com/google/android/gms/internal/zzaqe.class... processing com/google/android/gms/internal/zzaqf.class... processing com/google/android/gms/internal/zzaqg.class... processing com/google/android/gms/internal/zzaqh.class... processing com/google/android/gms/internal/zzaqi.class... processing com/google/android/gms/internal/zzaqj.class... processing com/google/android/gms/internal/zzaqk.class... processing com/google/android/gms/internal/zzaql.class... processing com/google/android/gms/internal/zzaqm.class... ignored resource com/google/android/gms/people/ ignored resource com/google/android/gms/people/protomodel/ processing com/google/android/gms/people/protomodel/FetchBackUpDeviceContactInfoResponse.class... pro<message truncated>

Comments (2)

  1. JamesJoKr

    Sorry for the wrong bug report. This issue caused by other asset plugin. I'm the writer of this thread but can't delete or close it because wrote this article before login. Please make this article delete or closed someone has authority. Thanks!

  2. Log in to comment