Android Studio Error “Unsupported class file major version 61“---异常信息记录

这篇具有很好参考价值的文章主要介绍了Android Studio Error “Unsupported class file major version 61“---异常信息记录。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

编译时异常信息

unsupported class file major version 61,日常工作异常记录,android studio,android,ide

原因及解决办法

问题出在JAVA 17上,并且使用的Gradle JDK是:Android Studio java home版本17.0.1将其更改为:Android Studio默认JDK版本11.0.10 即可解决
操作步骤
1
unsupported class file major version 61,日常工作异常记录,android studio,android,ide
2
unsupported class file major version 61,日常工作异常记录,android studio,android,ide
3
unsupported class file major version 61,日常工作异常记录,android studio,android,ide文章来源地址https://www.toymoban.com/news/detail-819454.html

到了这里,关于Android Studio Error “Unsupported class file major version 61“---异常信息记录的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 报错java.lang.IllegalArgumentException: Unsupported class file major version 60的解决方案

    使用 maven 集成 spring 在测试的时候报出了如下的异常: Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 60 这个错误意思大概就是:非法参数异常,不支持的类文件主版本60。 猜想应该是版本兼容问题,查找项目中只集成了 spring-context ,版本是 5.2.4.RELEASE ,而

    2024年02月07日
    浏览(42)
  • IDEA出现Unsupported class file major version 64及SSL peer shut down incorrectly问题

    第一次使用IDEA 搭建Spring Boot项目,遇到了Unsupported class file major version 64及SSL peer shut down incorrectly的问题,以下是我通过查询和尝试找到的一些解决办法,希望能够帮助到大家。 由于刚开始使用,可能有些说法不太正确,欢迎指出。 3.1问题原因 问题主要原因就是因为Jdk版本号

    2024年02月05日
    浏览(47)
  • Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file

    maven打包报错 java 运行时的最新版本(类文件版本 61.0)编译的,该版本的 Java 运行时只识别 52.0 以下的类文件版本 原因: 根据 Spring Boot with spring version 2.5.7 fails repackage with jdk 1.8 这篇文章中下面的说法 目标org.springframework.boot:spring-boot-maven插件:3.0.0-M1:重新打包失败:由于

    2024年02月13日
    浏览(32)
  • 低版本jdk运行高版本编译jar包失败(class file version 61.0), this version of the Java Runtime class file 52.0

    省流:使用jdk1.8执行17编译的包,启动报错。         项目运行中难免出现服务器环节集成其它jar包的情况,而其它jar包的jdk版本可能和我们业务项目的jdk版本不一致,如果比我们业务版本低,那么可能不会出现问题, 因为jdk向下兼容,如果jdk版本比我们业务版本高,可能就

    2024年02月02日
    浏览(36)
  • idea 报错Java Runtime (class file version 61.0), this version of the Java Runtime only ...55.0

    RootLogLevelConfigurator has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0 55对应jdk11,61对应jdk17. 查看自己pom文件中java的版本,将版本改为11 setting中版本改为11 project structure中版本改为11 pom中指定spring

    2024年02月08日
    浏览(38)
  • has been compiled by a more recent version of the Java Runtime (class file version 61.0)

    第一次使用spring boot starter项目遇到的问题,记录下  Exception in thread \\\"main\\\" java.lang.UnsupportedClassVersionError: org/springframework/boot/SpringApplication has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 59.0     at

    2024年02月07日
    浏览(59)
  • idea项目启动报错 Unsupported major.minor version 52.0和java内部版本号对照

    idea项目启动报错: org/springframework/boot/SpringApplication : Unsupported major.minor version 52.0 报错很明显。java版本不对,例如有老项目jdk是1.7,但是idea配置的大多数都是1.8。 解决方案 需要全部配置下。 1、环境变量配置为1.7。 2、pom.xml配置为1.7。 3、idea settings配置。 java compiler | proj

    2024年02月16日
    浏览(43)
  • android studio编译报错:2 files found with path ‘META-INF/kotlinx_coroutines_core.version‘.

    android studio编译报错: 2 files found with path \\\'META-INF/kotlinx_coroutines_core.version\\\'. Adding a packagingOptions block may help 点击上一级报错原因: Execution failed for task \\\':app:mergeDebugJavaResource\\\'. A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction     2 files found with path \\\'META

    2024年02月10日
    浏览(25)
  • Pytorch unsupported Microsoft Visual Studio version! Only the versions between 2017 and 2019

    Windows 下 Pytorch需要编译cpp文件,出现如下错误: fatal error C1189: #error:  -- unsupported Microsoft Visual Studio version! Only the versions between 2017 and 2019 (inclusive) are supported! The nvcc flag \\\'-allow-unsupported-compiler\\\' can be used to override this version check 我安装的VS2022,那么需要重新安装VS2019么? 其实不

    2024年02月11日
    浏览(24)
  • Error: node: unknown or unsupported macOS version: :dunno 错误解决

    今天安装 报错了,错误信息如下: 1)查找homebrew-cask安装位置 2)使用 git fetch --unshallow 命令,将浅复制的存储库转换为完整的存储库,即将历史记录中所有的提交、分支和标签都拉取到本地。 3)更新 brew 再安装node就可以了

    2024年02月08日
    浏览(31)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包