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

Samebug tips

  1. ,
    via Stack Overflow by passsy

    Occurs when java version is changed. Ways to fix,

    1. Change JAVA_HOME to the previous version
    2. Change the compiler version to 1.7 for this specific module in build.gradle
    apply plugin: 'java'
    sourceCompatibility = 1.7
    targetCompatibility = 1.7
    

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)	at com.android.dx.command.Main.main(Main.java:106)