• 依赖的aar包跟项目jdk版本不一致问题


    1. UNEXPECTED TOP-LEVEL EXCEPTION:
    2. java.lang.RuntimeException: Exception parsing classes
    3. at com.android.dx.command.dexer.Main.processClass(Main.java:781)
    4. at com.android.dx.command.dexer.Main.processFileBytes(Main.java:747)
    5. at com.android.dx.command.dexer.Main.access$1200(Main.java:88)
    6. at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1689)
    7. at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
    8. at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
    9. at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
    10. at com.android.dx.command.dexer.Main.processOne(Main.java:695)
    11. at com.android.dx.command.dexer.Main.processAllFiles(Main.java:587)
    12. at com.android.dx.command.dexer.Main.runMultiDex(Main.java:376)
    13. at com.android.dx.command.dexer.Main.run(Main.java:290)
    14. com.android.builder.core.DexByteCodeConverter.lambda$dexInProcess$0(DexByteCodeConverter.java:174)
    15. at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    16. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    17. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    18. at java.lang.Thread.run(Thread.java:748)
    19. Caused by: com.android.dx.cf.iface.ParseException: bad class file magic (cafebabe) or version (0034.0000)
    20. at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:476)
    21. at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:406)
    22. at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:388)
    23. at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:251)
    24. at com.android.dx.command.dexer.Main.parseClass(Main.java:793)
    25. at com.android.dx.command.dexer.Main.access$1600(Main.java:88)
    26. at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1728)
    27. at com.android.dx.command.dexer.Main.processClass(Main.java:779)
    28. ... 16 more

  • 相关阅读:
    Java---数据库---MyBatisPlus
    软件工程第七周
    vue从flask获取数据并显示
    nginx的location的优先级和匹配方式
    java中对象和类应用实例
    整数型常量池
    ToBeWritten之让响应团队参与并做好沟通
    面试官:请求转发和请求重定向有什么区别?
    【C++】类和对象(上)
    HTTPS协议
  • 原文地址:https://blog.csdn.net/androidzsp/article/details/128214007