java - Unable to convert to DEX format -
i'm using unity5, jdk 1.8 , i'm building min android sdk = 10 , max = 22.
i can development build without problems when i'm trying create .apk file google play store error.
error log:
commandinvokationfailure: unable convert classes dex format. see console 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 empty @ java.util.zip.zipfile.open(native method) @ java.util.zip.zipfile.<init>(zipfile.java:220) @ java.util.zip.zipfile.<init>(zipfile.java:150) @ java.util.zip.zipfile.<init>(zipfile.java:164) @ com.android.dx.cf.direct.classpathopener.processarchive(classpathopener.java:244) @ com.android.dx.cf.direct.classpathopener.processone(classpathopener.java:166) @ com.android.dx.cf.direct.classpathopener.process(classpathopener.java:144) @ com.android.dx.command.dexer.main.processone(main.java:632) @ com.android.dx.command.dexer.main.processallfiles(main.java:510) @ com.android.dx.command.dexer.main.runmonodex(main.java:280) @ com.android.dx.command.dexer.main.run(main.java:246) @ com.android.dx.command.dexer.main.main(main.java:215) @ com.android.dx.command.main.main(main.java:106) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:497) @ sdkmain.main(sdkmain.java:129) 1 error; aborting ]
and lot of lines go "processnig [path .class file]".
i've tried switching jdk 1.7 no avail.
i think i've eliminated possibility of multiple plugin error there no duplicate .jar's.
any ideas what's causing this?
solved!
for reason classes.jar file in unity program folder corrupted, replaced 1 had in android studio project , works.
Comments
Post a Comment