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 ngyukman
, 1 year ago
bad class file magic (cafebabe) or version (0034.0000)
via GitHub by sytolk
, 2 years ago
bad class file magic (cafebabe) or version (0034.0000)
via JIRA by Robert Staudinger, 1 year ago
bad class file magic (cafebabe) or version (0034.0000)
via jmrtd by *anonymous
, 2 years ago
bad class file magic (cafebabe) or version (0034.0000)
via Stack Overflow by Unknown author, 2 years ago
bad class file magic (cafebabe) or version (0034.0000)
via Stack Overflow by Kunu
, 2 years 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:704)	at com.android.dx.command.dexer.Main.processFileBytes(Main.java:673)	at com.android.dx.command.dexer.Main.access$300(Main.java:83)	at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602)	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: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)