Unable to convert classes into dex format.

Error building Player: CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details.
C:\Program Files\Java\jdk1.8.0_31\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir=“D:/AndroidSdk ools” -Dfile.encoding=UTF8 -jar “E:/Unity_4.6.3/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar” -

stderr[

UNEXPECTED TOP-LEVEL EXCEPTION:
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:220)
at java.util.zip.ZipFile.(ZipFile.java:150)
at java.util.zip.ZipFile.(ZipFile.java:164)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:244)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
at com.android.dx.command.dexer.Main.processOne(Main.java:632)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:510)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:280)
at com.android.dx.command.dexer.Main.run(Main.java:246)
at com.android.dx.command.dexer.Main.main(Main.java:215)
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:483)
at SDKMain.main(SDKMain.java:130)
1 error; aborting
]
stdout[
processing archive bin\classes.jar…
processing com/unity3d/player/a$1.class…
processing com/unity3d/player/a$2.class…
processing com/unity3d/player/a$a.class…
processing com/unity3d/player/a.class…
processing com/unity3d/player/b.class…
processing com/unity3d/player/c$1.class…
processing com/unity3d/player/c$2.class…
processing com/unity3d/player/c.class…
processing com/unity3d/player/d.class…
processing com/unity3d/player/e$1.class…
processing com/unity3d/player/e$2.class…
processing com/unity3d/player/e.class…
processing com/unity3d/player/f.class…
processing com/unity3d/player/g.class…
processing com/unity3d/player/h.class…
processing com/unity3d/player/i.class…
processing com/unity3d/player/j.class…
processing com/unity3d/player/k$1.class…
processing com/unity3d/player/k.class…
processing com/unity3d/player/NativeLoader.class…
processing com/unity3d/player/l.class…
processing com/unity3d/player/PsmMainActivity.class…
processing com/unity3d/player/PsmUnityActivity.class…
processing com/unity3d/player/ReflectionHelper$1.class…
processing com/unity3d/player/ReflectionHelper$a.class…
processing com/unity3d/player/ReflectionHelper.class…
processing com/unity3d/player/m.class…
processing com/unity3d/player/n$1.class…
processing com/unity3d/player/n$2.class…
processing com/unity3d/player/n$3.class…
processing com/unity3d/player/n.class…
processing com/unity3d/player/o.class…
processing com/unity3d/player/p.class…
processing com/unity3d/player/UnityPlayer$1.class…
processing com/unity3d/player/UnityPlayer$2.class…
processing com/unity3d/player/UnityPlayer$3.class…
processing com/unity3d/player/UnityPlayer$4.class…
processing com/unity3d/player/UnityPlayer$5.class…
processing com/unity3d/player/UnityPlayer$6.class…
processing com/unity3d/player/UnityPlayer$7.class…
processing com/unity3d/player/UnityPlayer$8.class…
processing com/unity3d/player/UnityPlayer$9.class…
processing com/unity3d/player/UnityPlayer$10.class…
processing com/unity3d/player/UnityPlayer$11.class…
processing com/unity3d/player/UnityPlayer$12$1.class…
processing com/unity3d/player/UnityPlayer$12.class…
processing com/unity3d/player/UnityPlayer$13.class…
processing com/unity3d/player/UnityPlayer$14.class…
processing com/unity3d/player/UnityPlayer$15.class…
processing com/unity3d/player/UnityPlayer$16.class…
processing com/unity3d/player/UnityPlayer$17.class…
processing com/unity3d/player/UnityPlayer$18.class…
processing com/unity3d/player/UnityPlayer$a.class…
processing com/unity3d/player/UnityPlayer$b.class…
processing com/unity3d/player/UnityPlayer$c.class…
processing com/unity3d/player/UnityPlayer.class…
processing com/unity3d/player/UnityPlayerActivity.class…
processing com/unity3d/player/UnityPlayerNativeActivity.class…
processing com/unity3d/player/UnityPlayerProxyActivity.class…
processing com/unity3d/player/q.class…
processing com/unity3d/player/r$1.class…
processing com/unity3d/player/r.class…
processing com/unity3d/player/WWW.class…
processing org/fmod/FMODAudioDevice$a.class…
processing org/fmod/FMODAudioDevice.class…
processing org/fmod/a.class…
processing archive plugins.\AndroidStore.jar…
ignored resource META-INF/MANIFEST.MF
processing com/soomla/rewards/VirtualItemReward.class…
processing com/soomla/store/IStoreAssets.class…
processing com/soomla/store/SoomlaStore$1.class…
processing com/soomla/store/SoomlaStore$2.class…
processing com/soomla/store/SoomlaStore$3$1$1.class…
processing com/soomla/store/SoomlaStore$3$1.class…
processing com/soomla/store/SoomlaStore$3.class…
processing com/soomla/store/SoomlaStore$4$1.class…
processing com/soomla/store/SoomlaStore$4.class…
processing com/soomla/store/SoomlaStore$5$1.class…
processing com/soomla/store/SoomlaStore$5.class…
processing com/soomla/store/SoomlaStore$6.class…
processing com/soomla/store/SoomlaStore$HandleSuccessfulPurchasesFinishedHandler.class…
processing com/soomla/store/SoomlaStore.class…
processing com/soomla/store/StoreConfig.class…
processing com/soomla/store/StoreInventory.class…
processing com/soomla/store/billing/IIabService.class…
processing com/soomla/store/billing/IabCallbacks$IabInitListener.class…
processing com/soomla/store/billing/IabCallbacks$OnConsumeListener.class…
processing com/soomla/store/billing/IabCallbacks$OnFetchSkusDetailsListener.class…
processing com/soomla/store/billing/IabCallbacks$OnPurchaseListener.class…
processing com/soomla/store/billing/IabCallbacks$OnRestorePurchasesListener.class…
processing com/soomla/store/billing/IabCallbacks.class…
processing com/soomla/store/billing/IabException.class…
processing com/soomla/store/billing/IabHelper$1.class…
processing com/soomla/store/billing/IabHelper$2.class…
processing com/soomla/store/billing/IabHelper$3.class…
processing com/soomla/store/billing/IabHelper$4.class…
processing com/soomla/store/billing/IabHelper$5.class…
processing com/soomla/store/billing/IabHelper$6.class…
processing com/soomla/store/billing/IabHelper$7.class…
processing com/soomla/store/billing/IabHelper$8.class…
processing com/soomla/store/billing/IabHelper$FetchSkusDetailsFinishedListener.class…
processing com/soomla/store/billing/IabHelper$OnIabPurchaseFinishedListener.class…
processing com/soomla/store/billing/IabHelper$OnIabSetupFinishedListener.class…
processing com/soomla/store/billing/IabHelper$RestorePurchasessFinishedListener.class…
processing com/soomla/store/billing/IabHelper.class…
processing com/soomla/store/billing/IabInventory.class…
processing com/soomla/store/billing/IabPurchase.class…
processing com/soomla/store/billing/IabResult.class…
processing com/soomla/store/billing/IabSkuDetails.class…
processing com/soomla/store/data/StorageManager.class…
processing com/soomla/store/data/StoreInfo.class…
processing com/soomla/store/data/StoreJSONConsts.class…
processing com/soomla/store/data/VirtualCurrencyStorage.class…
processing com/soomla/store/data/VirtualGoodsStorage.class…
processing com/soomla/store/data/VirtualItemStorage.class…
processing com/soomla/store/domain/MarketItem.class…
processing com/soomla/store/domain/PurchasableVirtualItem.class…
processing com/soomla/store/domain/VirtualCategory.class…
processing com/soomla/store/domain/VirtualItem.class…
processing com/soomla/store/domain/virtualCurrencies/VirtualCurrency.class…
processing com/soomla/store/domain/virtualCurrencies/VirtualCurrencyPack.class…
processing com/soomla/store/domain/virtualGoods/EquippableVG$EquippingModel.class…
processing com/soomla/store/domain/virtualGoods/EquippableVG.class…
processing com/soomla/store/domain/virtualGoods/LifetimeVG.class…
processing com/soomla/store/domain/virtualGoods/SingleUsePackVG.class…
processing com/soomla/store/domain/virtualGoods/SingleUseVG.class…
processing com/soomla/store/domain/virtualGoods/UpgradeVG.class…
processing com/soomla/store/domain/virtualGoods/VirtualGood.class…
processing com/soomla/store/events/BillingNotSupportedEvent.class…
processing com/soomla/store/events/BillingSupportedEvent.class…
processing com/soomla/store/events/CurrencyBalanceChangedEvent.class…
processing com/soomla/store/events/GoodBalanceChangedEvent.class…
processing com/soomla/store/events/GoodEquippedEvent.class…
processing com/soomla/store/events/GoodUnEquippedEvent.class…
processing com/soomla/store/events/GoodUpgradeEvent.class…
processing com/soomla/store/events/IabServiceStartedEvent.class…
processing com/soomla/store/events/IabServiceStoppedEvent.class…
processing com/soomla/store/events/ItemPurchaseStartedEvent.class…
processing com/soomla/store/events/ItemPurchasedEvent.class…
processing com/soomla/store/events/MarketItemsRefreshFailedEvent.class…
processing com/soomla/store/events/MarketItemsRefreshFinishedEvent.class…
processing com/soomla/store/events/MarketItemsRefreshStartedEvent.class…
processing com/soomla/store/events/MarketPurchaseCancelledEvent.class…
processing com/soomla/store/events/MarketPurchaseEvent.class…
processing com/soomla/store/events/MarketPurchaseStartedEvent.class…
processing com/soomla/store/events/MarketRefundEvent.class…
processing com/soomla/store/events/RestoreTransactionsFinishedEvent.class…
processing com/soomla/store/events/RestoreTransactionsStartedEvent.class…
processing com/soomla/store/events/SoomlaStoreInitializedEvent.class…
processing com/soomla/store/events/UnexpectedStoreErrorEvent$ErrorCode.class…
processing com/soomla/store/events/UnexpectedStoreErrorEvent.class…
processing com/soomla/store/exceptions/InsufficientFundsException.class…
processing com/soomla/store/exceptions/NotEnoughGoodsException.class…
processing com/soomla/store/exceptions/VirtualItemNotFoundException.class…
processing com/soomla/store/purchaseTypes/PurchaseType.class…
processing com/soomla/store/purchaseTypes/PurchaseWithMarket.class…
processing com/soomla/store/purchaseTypes/PurchaseWithVirtualItem.class…
processing archive plugins.\SoomlaAndroidCore.jar…
ignored resource META-INF/MANIFEST.MF
processing com/soomla/AndroidBus$1.class…
processing com/soomla/AndroidBus$2.class…
processing com/soomla/AndroidBus$3.class…
processing com/soomla/AndroidBus.class…
processing com/soomla/BusProvider.class…
processing com/soomla/Foreground$1.class…
processing com/soomla/Foreground$ForegroundNew.class…
processing com/soomla/Foreground$ForegroundOld.class…
processing com/soomla/Foreground.class…
processing com/soomla/Schedule$1.class…
processing com/soomla/Schedule$DateTimeRange.class…
processing com/soomla/Schedule$Recurrence.class…
processing com/soomla/Schedule.class…
processing com/soomla/Soomla.class…
processing com/soomla/SoomlaApp$1.class…
processing com/soomla/SoomlaApp.class…
processing com/soomla/SoomlaConfig.class…
processing com/soomla/SoomlaEntity.class…
processing com/soomla/SoomlaMarketUtils.class…
processing com/soomla/SoomlaUtils.class…
processing com/soomla/data/JSONConsts.class…
processing com/soomla/data/KeyValDatabase$DatabaseHelper.class…
processing com/soomla/data/KeyValDatabase.class…
processing com/soomla/data/KeyValueStorage.class…
processing com/soomla/data/RewardStorage.class…
processing com/soomla/events/AppToBackgroundEvent.class…
processing com/soomla/events/AppToForegroundEvent.class…
processing com/soomla/events/CustomEvent.class…
processing com/soomla/events/RewardGivenEvent.class…
processing com/soomla/events/RewardTakenEvent.class…
processing com/soomla/events/SoomlaEvent.class…
processing com/soomla/rewards/BadgeReward.class…
processing com/soomla/rewards/RandomReward.class…
processing com/soomla/rewards/Reward.class…
processing com/soomla/rewards/SequenceReward.class…
processing com/soomla/util/AESObfuscator$ValidationException.class…
processing com/soomla/util/AESObfuscator.class…
processing com/soomla/util/Base64.class…
processing com/soomla/util/Base64DecoderException.class…
processing com/soomla/util/JSONFactory.class…
processing archive plugins.\square-otto-1.3.2.jar…
ignored resource META-INF/MANIFEST.MF
processing com/squareup/otto/AnnotatedHandlerFinder.class…
processing com/squareup/otto/Bus$1.class…
processing com/squareup/otto/Bus$2.class…
processing com/squareup/otto/Bus$EventWithHandler.class…
processing com/squareup/otto/Bus.class…
processing com/squareup/otto/DeadEvent.class…
processing com/squareup/otto/EventHandler.class…
processing com/squareup/otto/EventProducer.class…
processing com/squareup/otto/HandlerFinder$1.class…
processing com/squareup/otto/HandlerFinder.class…
processing com/squareup/otto/Produce.class…
processing com/squareup/otto/Subscribe.class…
processing com/squareup/otto/ThreadEnforcer$1.class…
processing com/squareup/otto/ThreadEnforcer$2.class…
processing com/squareup/otto/ThreadEnforcer.class…
ignored resource META-INF/maven/com.squareup/otto/pom.xml
ignored resource META-INF/maven/com.squareup/otto/pom.properties
processing archive plugins.\UnityAndroidStore.jar…
ignored resource META-INF/MANIFEST.MF
processing com/soomla/unity/StoreEventHandler.class…
processing archive plugins.\UnitySoomlaAndroidCore.jar…
ignored resource META-INF/MANIFEST.MF
processing com/soomla/core/unity/SoomlaEventHandler.class…
]

UNEXPECTED TOP-LEVEL EXCEPTION: java.util.zip.ZipException: error in opening zip file at

Means you probably have a corrupted .jar file somewhere in the plugins.

Hi, you will get a much quicker response in answers.soom.la for this

I had encountered the same error, And couldn’t find corrupted .jar.
But solved it by below.

  1. I had imported both ‘soomla store’ and ‘soomla profile’ from Asset Store.
    And encountered the error.

  2. First, I tried to remove all related files.

  3. Then, I imported ‘soomla store’ from Asset Store.
    Then imported ‘soomla profile’ from Github.

  4. And build successfully.

try this.

@se7enhill