原文:java运行报错 has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

解决方法: 解决办法: 在项目的属性里设置jdk版本,方法是右击项目 gt properties gt java compiler gt Enable project specific settings gt 将compiler compliance level设置为 . ,也就是与jvm一致的版本 ...

2021-09-24 16:39 0 181 推荐指数:

查看详情

Dx unsupported class file version 52.0

最近用ADT时遇到这个bug,折腾了好几天。 报错信息: Dx unsupported class file version 52.0 Conversion to Dalvik format failed with error 1 原因: 可能是用jdk 1.8运行程序时,某些类无法解析 ...

Wed Sep 28 05:44:00 CST 2016 1 4436
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM