我该如何解决这个与 Supersonic SDK 相关的错误?

How can I solve this error related to Supersonic SDK?

我一直在尝试在我的游戏中上传 SuperSonic SDK。但是我收到了这些错误。我无法弄清楚错误是什么,因为我是 Unity 和 Android 的新手。请帮帮我

CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details.
/Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/bin/java -Xmx2048M -Dcom.android.sdkmanager.toolsdir="/Users/name/Downloads/sdk/tools" -Dfile.encoding=UTF8 -jar "/Applications/Unity/PlaybackEngines/AndroidPlayer/Tools/sdktools.jar" -

stderr[
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/immersion/content/EndpointWarp;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/immersion/content/HapticHeaderUtils;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/immersion/content/HeaderUtils;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/immersion/content/Log;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/immersion/hapticmediasdk/HapticContentSDK;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/immersion/hapticmediasdk/HapticContentSDK$SDKStatus;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/immersion/hapticmediasdk/HapticContentSDKFactory;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/immersion/hapticmediasdk/HapticMediaSDKVersion;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/immersion/hapticmediasdk/MediaPlaybackSDK;

UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Translation has been interrupted
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:608)
    at com.android.dx.command.dexer.Main.runMonoDex(Main.java:311)
    at com.android.dx.command.dexer.Main.run(Main.java:277)
    at com.android.dx.command.dexer.Main.main(Main.java:245)
    at com.android.dx.command.Main.main(Main.java:106)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:497)
    at SDKMain.main(SDKMain.java:129)
Caused by: java.lang.InterruptedException: Too many errors
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:600)
    ... 9 more
]
stdout[
processing archive /Volumes/Development/Projects/Gusteau/Source/StarChefUnity_2/Temp/StagingArea/android-libraries/GoogleCloudMessaging_lib/libs/./GoogleCloudMessagingPlugin.jar...
ignored resource META-INF/
ignored resource META-INF/MANIFEST.MF
ignored resource com/
ignored resource com/prime31/
processing com/prime31/GCMBroadcastReceiver.class...
processing com/prime31/GoogleCloudMessagingPlugin.class...
processing com/prime31/GoogleCloudMessagingPlugin.class...
processing com/prime31/GoogleCloudMessagingPlugin.class...
processing com/prime31/GoogleCloudMessagingPlugin.class...
processing com/prime31/GoogleCloudMessagingPlugin.class...
processing com/prime31/GoogleCloudMessagingPlugin$CloudRegistrationTask.class...
processing com/prime31/GoogleCloudMessagingPlugin$CloudSendMessageTask.class...
processing com/prime31/GoogleCloudMessagingPlugin$CloudUnregistrationTask.class...
processing com/prime31/GoogleCloudMessagingPluginBase.class...
processing com/prime31/GoogleCloudMessagingPluginBase.class...
processing com/prime31/PushPrefs.class...
processing archive /Volumes/Development/Projects/Gusteau/Source/StarChefUnity_2/Temp/StagingArea/android-libraries/IAB_lib/libs/./IABPlugin.jar...
ignored resource META-INF/
ignored resource META-INF/MANIFEST.MF
ignored resource com/
ignored resource com/android/
ignored resource com/android/vending/
ignored resource com/android/vending/billing/
ignored resource com/android/vending/billing/IInAppBillingService.aidl
processing com/android/vending/billing/IInAppBillingService.class...
processing com/android/vending/billing/IInAppBillingService$Stub.class...
processing com/android/vending/billing/IInAppBillingService$Stub$Proxy.class...
ignored resource com/prime31/
processing com/prime31/GoogleIABPlugin.class...
processing com/prime31/GoogleIABPlugin.class...
processing com/prime31/GoogleIABPlugin.class...
processing com/prime31/GoogleIABPlugin.class...
processing com/prime31/GoogleIABPlugin.class...
processing com/prime31/GoogleIABPlugin.class...
processing com/prime31/GoogleIABPluginBase.class...
processing com/prime31/GoogleIABPluginBase.class...
processing com/prime31/GoogleIABProxyActivity.class...
processing com/prime31/IABConstants.class...
ignored resource com/prime31/InAppBilling/
processing com/prime31/InAppBilling/BuildConfig.class...
processing com/prime31/InAppBilling/R.class...
processing com/prime31/InAppBilling/R$attr.class...
processing com/prime31/InAppBilling/R$drawable.class...
processing com/prime31/InAppBilling/R$id.class...
processing com/prime31/InAppBilling/R$layout.class...
processing com/prime31/InAppBilling/R$menu.class...
processing com/prime31/InAppBilling/R$string.class...
processing com/prime31/InAppBilling/R$style.class...
ignored resource com/prime31/util/
processing com/prime31/util/Base64.class...
processing com/prime31/util/Base64DecoderException.class...
processing com/prime31/util/IabException.class...
processing com/prime31/util/IabHelper.class...
processing com/prime31/util/IabHelper.class...
processing com/prime31/util/IabHelper.class...
processing com/prime31/util/IabHelper.class...
processing com/prime31/util/IabHelper.class...
processing com/prime31/util/IabHelper.class...
processing com/prime31/util/IabHelper.class...
processing com/prime31/util/IabHelper$OnConsumeFinishedListener.class...
processing com/prime31/util/IabHelper$OnConsumeMultiFinishedListener.class...
processing com/prime31/util/IabHelper$OnIabPurchaseFinishedListener.class...
processing com/prime31/util/IabHelper$OnIabSetupFinishedListener.class...
processing com/prime31/util/IabHelper$QueryInventoryFinishedListener.class...
processing com/prime31/util/IabResult.class...
processing com/prime31/util/Inventory.class...
processing com/prime31/util/Purchase.class...
processing com/prime31/util/Security.class...
processing com/prime31/util/SkuDetails.class...
processing archive /Volumes/Development/Projects/Gusteau/Source/StarChefUnity_2/Temp/StagingArea/android-libraries/Localytics_lib/libs/./LocalyticsPlugin.jar...
ignored resource META-INF/
ignored resource META-INF/MANIFEST.MF
ignored resource com/
ignored resource com/prime31/
processing com/prime31/LocalyticsPlugin.class...
processing com/prime31/LocalyticsPluginBase.class...
processing com/prime31/LocalyticsPluginBase.class...
processing archive /Volumes/Development/Projects/Gusteau/Source/StarChefUnity_2/Temp/StagingArea/android-libraries/Localytics_lib/libs/./localytics.jar...
ignored resource META-INF/
ignored resource META-INF/MANIFEST.MF
ignored resource com/
ignored resource com/localytics/
ignored resource com/localytics/android/
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler.class...
processing com/localytics/android/AnalyticsHandler$AnalyticsListenersSet.class...
processing com/localytics/android/AnalyticsListener.class...
processing com/localytics/android/AnalyticsProvider.class...
processing com/localytics/android/AnalyticsProvider.class...
processing com/localytics/android/AnalyticsProvider$AnalyticsDatabaseHelper.class...
processing com/localytics/android/AnalyticsProvider$CustomDimensionsV3Columns.class...
processing com/localytics/android/AnalyticsProvider$EventsV3Columns.class...
processing com/localytics/android/AnalyticsProvider$EventsV3Columns$UploadFormat.class...
processing com/localytics/android/AnalyticsProvider$IdentifiersV3Columns.class...
processing com/localytics/android/AnalyticsProvider$InfoV3Columns.class...
processing com/localytics/android/AnalyticsUploadHandler.class...
processing com/localytics/android/BaseHandler.class...
processing com/localytics/android/BaseHandler.class...
processing com/localytics/android/BaseHandler.class...
processing com/localytics/android/BaseHandler.class...
processing com/localytics/android/BaseHandler$BaseListener.class...
processing com/localytics/android/BaseHandler$ListenersSet.class...
processing com/localytics/android/BaseProvider.class...
processing com/localytics/android/BaseProvider.class...
processing com/localytics/android/BaseProvider$LocalyticsDatabaseHelper.class...
processing com/localytics/android/BaseUploadThread.class...
processing com/localytics/android/BaseUploadThread$UploadType.class...
processing com/localytics/android/BuildConfig.class...
processing com/localytics/android/Constants.class...
processing com/localytics/android/DatapointHelper.class...
processing com/localytics/android/DatapointHelper$AdvertisingInfo.class...
processing com/localytics/android/JavaScriptClient.class...
processing com/localytics/android/JavaScriptClient.class...
processing com/localytics/android/JsonHelper.class...
processing com/localytics/android/JsonObjects.class...
processing com/localytics/android/JsonObjects$BlobHeader.class...
processing com/localytics/android/JsonObjects$BlobHeader$Attributes.class...
processing com/localytics/android/JsonObjects$OptEvent.class...
processing com/localytics/android/JsonObjects$ProfileUpload.class...
processing com/localytics/android/JsonObjects$SessionClose.class...
processing com/localytics/android/JsonObjects$SessionEvent.class...
processing com/localytics/android/JsonObjects$SessionOpen.class...
processing com/localytics/android/Localytics.class...
processing com/localytics/android/Localytics.class...
processing com/localytics/android/Localytics$InAppMessageDismissButtonLocation.class...
processing com/localytics/android/Localytics$LocalyticsNotInitializedException.class...
processing com/localytics/android/Localytics$Log.class...
processing com/localytics/android/Localytics$ProfileScope.class...
processing com/localytics/android/LocalyticsActivity.class...
processing com/localytics/android/LocalyticsActivityLifecycleCallbacks.class...
processing com/localytics/android/LocalyticsActivityWithMarketing.class...
processing com/localytics/android/MarketingCallable.class...
processing com/localytics/android/MarketingCondition.class...
processing com/localytics/android/MarketingCondition.class...
processing com/localytics/android/MarketingCondition$Opt.class...
processing com/localytics/android/MarketingDialogFragment.class...
processing com/localytics/android/MarketingDialogFragment.class...
processing com/localytics/android/MarketingDialogFragment.class...
processing com/localytics/android/MarketingDialogFragment.class...
processing com/localytics/android/MarketingDialogFragment$MarketingDialog.class...
processing com/localytics/android/MarketingDialogFragment$MarketingDialog.class...
processing com/localytics/android/MarketingDialogFragment$MarketingDialog.class...
processing com/localytics/android/MarketingDialogFragment$MarketingDialog.class...
processing com/localytics/android/MarketingDialogFragment$MarketingDialog.class...
processing com/localytics/android/MarketingDialogFragment$MarketingDialog.class...
processing com/localytics/android/MarketingDialogFragment$MarketingDialog$CloseButton.class...
processing com/localytics/android/MarketingDialogFragment$MarketingDialog$MarketingWebView.class...
processing com/localytics/android/MarketingDialogFragment$MarketingDialog$MarketingWebView$MarketingWebViewClient.class...
processing com/localytics/android/MarketingDownloader.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler.class...
processing com/localytics/android/MarketingHandler$MessagingListenersSet.class...
processing com/localytics/android/MarketingMessage.class...
processing com/localytics/android/MarketingProvider.class...
processing com/localytics/android/MarketingProvider.class...
processing com/localytics/android/MarketingProvider$MarketingConditionValuesV3Columns.class...
processing com/localytics/android/MarketingProvider$MarketingConditionsV3Columns.class...
processing com/localytics/android/MarketingProvider$MarketingDatabaseHelper.class...
processing com/localytics/android/MarketingProvider$MarketingDisplayedV3Columns.class...
processing com/localytics/android/MarketingProvider$MarketingRuleEventV3Columns.class...
processing com/localytics/android/MarketingProvider$MarketingRulesV3Columns.class...
processing com/localytics/android/MarketingRulesAdapter.class...
processing com/localytics/android/MarketingRulesAdapter.class...
processing com/localytics/android/MarketingRulesAdapter.class...
processing com/localytics/android/MessagingListener.class...
processing com/localytics/android/MigrationDatabaseHelper.class...
processing com/localytics/android/MigrationDatabaseHelper.class...
processing com/localytics/android/MigrationDatabaseHelper$AmpConditionValuesDbColumns.class...
processing com/localytics/android/MigrationDatabaseHelper$AmpConditionsDbColumns.class...
processing com/localytics/android/MigrationDatabaseHelper$AmpDisplayedDbColumns.class...
processing com/localytics/android/MigrationDatabaseHelper$AmpRuleEventDbColumns.class...
processing com/localytics/android/MigrationDatabaseHelper$AmpRulesDbColumns.class...
processing com/localytics/android/MigrationDatabaseHelper$ApiKeysD<message truncated>

错误到底是什么?我该如何解决?

看到这一行:

Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/immersion/content/EndpointWarp;

这就是问题所在。在您项目的某处,您有一个重复的 android 库。 Unity 正在尝试将所有 类 转换为 dex 格式,但它越来越重复,它不喜欢这样。

您需要做的就是找到有问题的库并删除其中一个副本。哪一个都无所谓。

库很可能是 .jar 文件。