title: Unable to convert to DEX format
body: <p>I'm using Unity5, JDK 1.8 and I'm building for min android sdk = 10 and max = 22.</p>
  
  <p>I can do a development build without any problems but when I'm trying to create an .apk file for the Google Play Store I get an error.</p>
  
  <p>Error log:</p>
  
  <pre><code>CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details.
  F:/Java/JDK\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="F:/Android/SDK\tools" -Dfile.encoding=UTF8 -jar "F:/Programs/Unity5/Editor/Data/BuildTargetTools/AndroidPlayer\sdktools.jar" -
  
  stderr[
  
  UNEXPECTED TOP-LEVEL EXCEPTION:
  java.util.zip.ZipException: zip file is empty
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:220)
      at java.util.zip.ZipFile.&lt;init&gt;(ZipFile.java:150)
      at java.util.zip.ZipFile.&lt;init&gt;(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.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:497)
      at SDKMain.main(SDKMain.java:129)
  1 error; aborting
  ]
  </code></pre>
  
  <p>And then a lot of lines that go like "processnig [path to .class file]".</p>
  
  <p>I've tried switching to JDK 1.7 but to no avail.</p>
  
  <p>I think I've eliminated the possibility of the multiple plugin error as there are no duplicate .jar's.</p>
  
  <p>Any ideas what's causing this?</p>