java.lang.RuntimeException: Exception parsing classes

Stack Overflow | blackpanther | 7 months 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

    Dagger 2.10-rc1 won't compile in Android

    GitHub | 3 months ago | emarc-m
    java.lang.RuntimeException: Exception parsing classes
  2. 0

    Error when using Spectrum in Android instrumented tests

    GitHub | 6 months ago | RoRoche
    java.lang.RuntimeException: Exception parsing classes
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    9 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.run
      1. com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:476)
      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.parseClass(Main.java:787)
      6. com.android.dx.command.dexer.Main.access$1600(Main.java:88)
      7. com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1722)
      8. com.android.dx.command.dexer.Main.processClass(Main.java:773)
      9. com.android.dx.command.dexer.Main.processFileBytes(Main.java:741)
      10. com.android.dx.command.dexer.Main.access$1200(Main.java:88)
      11. com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1683)
      12. com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
      13. com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
      14. com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
      15. com.android.dx.command.dexer.Main.processOne(Main.java:695)
      16. com.android.dx.command.dexer.Main.processAllFiles(Main.java:560)
      17. com.android.dx.command.dexer.Main.runMultiDex(Main.java:376)
      18. com.android.dx.command.dexer.Main.run(Main.java:290)
      18 frames
    3. com.android.tools.build.builder
      DexByteCodeConverter.lambda$dexInProcess$0
      1. com.android.builder.internal.compiler.DexWrapper.run(DexWrapper.java:54)
      2. com.android.builder.core.DexByteCodeConverter.lambda$dexInProcess$0(DexByteCodeConverter.java:173)
      2 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames