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

JIRA | Robert Staudinger | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    'ParseException: bad class file magic' with 2.0.1 in android gradle based project

    GitHub | 2 years ago | gbero
    com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)
  2. 0

    AndroidStudio

    GitHub | 2 years ago | M1cha
    com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)
  3. 0

    Android Studio 1.0 - "local path doesn't exist" with external library project

    Stack Overflow | 2 years ago | Douglas Junior
    com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Gradle fails when I try to run my android app, cause is blank

    Stack Overflow | 2 years ago | ChemicalRocketeer
    com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)
  6. 0

    Local Path not found with Java Library Android Studio 1.0.1

    Stack Overflow | 2 years ago | Matt Boyle
    com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.android.dx.cf.iface.ParseException

      bad class file magic (cafebabe) or version (0034.0000)

      at com.android.dx.cf.direct.DirectClassFile.parse0()
    2. Android SDK's dx Tool
      Main.main
      1. com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:472)
      2. com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)
      3. com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:388)
      4. com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:251)
      5. com.android.dx.command.dexer.Main.processClass(Main.java:704)
      6. com.android.dx.command.dexer.Main.processFileBytes(Main.java:673)
      7. com.android.dx.command.dexer.Main.access$300(Main.java:83)
      8. com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:602)
      9. com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
      10. com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
      11. com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
      12. com.android.dx.command.dexer.Main.processOne(Main.java:632)
      13. com.android.dx.command.dexer.Main.processAllFiles(Main.java:510)
      14. com.android.dx.command.dexer.Main.runMonoDex(Main.java:280)
      15. com.android.dx.command.dexer.Main.run(Main.java:246)
      16. com.android.dx.command.dexer.Main.main(Main.java:215)
      17. com.android.dx.command.Main.main(Main.java:106)
      17 frames