com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by viplwj
, 1 year ago
bad class file magic (cafebabe) or version (0034.0000)
via GitHub by viplwj
, 1 year ago
bad class file magic (cafebabe) or version (0034.0000)
via GitHub by or0fun
, 1 year ago
bad class file magic (cafebabe) or version (0034.0000)
via GitHub by zagannath
, 1 year ago
bad class file magic (cafebabe) or version (0034.0000)
via GitHub by gengjiawen
, 1 year ago
bad class file magic (cafebabe) or version (0034.0000)
via GitHub by CaiHuan
, 1 year ago
bad class file magic (cafebabe) or version (0034.0000)
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:730)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:699)
at com.android.dx.command.dexer.Main.access$300(Main.java:86)
at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:628)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:170)
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.processDirectory(ClassPathOpener.java:229)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
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.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:658)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:536)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:307)
at com.android.dx.command.dexer.Main.run(Main.java:266)
at com.android.dx.command.dexer.Main.run(Main.java:236)
at com.android.dx.command.dexer.Main.main(Main.java:218)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
25 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.