UNEXPECTED TOP-LEVEL EXCEPTION: ...while parsing com/alibaba/fastjson/JSON.class 1 error; aborting Error:Execution failed for task ‘:mfh-owner-client:preDexDebug‘. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: D:\Program Files\as\sdk\build-tools\19.1.0\dx.bat --dex --output F:\Nat\SVN9\trunk\mfh-owner-client\build\intermediates\pre-dexed\debug\mfh-comn-all-3831a0acc8349acc4bdbb05079cfb51ddc2933b1.jar F:\Nat\SVN9\trunk\mfh-comn-all\build\libs\mfh-comn-all.jar Error Code: 1 Output: UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000) at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:472) at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406) at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:388) at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:251) at com.android.dx.command.dexer.Main.processClass(Main.java:665) at com.android.dx.command.dexer.Main.processFileBytes(Main.java:634) at com.android.dx.command.dexer.Main.access$600(Main.java:78) at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:572) at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284) 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:596) at com.android.dx.command.dexer.Main.processAllFiles(Main.java:498) at com.android.dx.command.dexer.Main.runMonoDex(Main.java:264) at com.android.dx.command.dexer.Main.run(Main.java:230) at com.android.dx.command.dexer.Main.main(Main.java:199) at com.android.dx.command.Main.main(Main.java:103) ...while parsing com/alibaba/fastjson/JSON.class 1 error; aborting
UNEXPECTED TOP-LEVEL EXCEPTION
原文:http://my.oschina.net/bingshanguxue/blog/407412