修改AndroidStudio的Boot Java Runtime for the IDE后,AndroidStudio启动就报错

我选择了jdk11,重启Android Studio结果就报错了

Cannot start the IDE

CompileCommand: exclude

org/jetbrains/kotlin/serialization/deserialization/TypeDeserializer.simple

Type

CompileCommand:exclude

org/jetbrains/kotlin/serialization/deserialization/TypeDeserializer.toAttributes

java.lang.UnsupportedClassVersionError:com/intellij/platform/core/nio/fs/MultiRoutingFileSystemProvider hasbeen compiled by a more recent version of the Java Runtime (class fileversion 61.0), this version of the Java Runtime only recognizes class fileversions up to 55.0Error occurred during initialization of VMFailure when starting JFR on_create_vm 2

Please try to reinstall the IDE.For support, please refer to https://jb.gg/ide/critical-startup-errors

问题在重装后仍未解决

尝试修改idea.properties和studio64.exe.vmoptions配置均无效

从错误提示可以明确看出是JDK版本不匹配导致的

解决方案有两种:

  1. 删除配置文件:

    • 路径:C:\Users\用户名\AppData\Roaming\Google\AndroidStudio(版本号)\studio64.exe.jdk
    • 直接删除该文件即可
  2. 升级JDK版本:

    • 修改为更高版本的JDK路径,例如: C:\Users\Administrator.jdks\corretto-17.0.15
相关推荐
傻啦嘿哟43 分钟前
某招聘平台爬虫:爬取招聘岗位数据,分析各城市薪资水平
开发语言·爬虫·python
2501_933670791 小时前
2026秋招量化分析岗技能栈:Python、SQL、统计建模、回测项目怎么准备
开发语言·python·sql
yxlalm1 小时前
Spring AI+RAG 01-项目背景与技术选型
java·人工智能·spring
程序员清风2 小时前
Java 后端高并发设计:线程池、限流、熔断与降级
java·数据库·oracle
李少兄2 小时前
JavaScript 数据类型完全指南
开发语言·javascript·ecmascript
Seoyoneh2 小时前
Agentic Workflow编排架构:云客服从“被动响应”迈向“主动执行”的技术实现
java·开发语言·架构
海南java第二人2 小时前
对外 API 如何保证幂等性?插入数据 / 上传表格场景全方案汇总
java·幂等性
tryxr2 小时前
Chat2Excel 文件服务模块上传文件功能开发
java·项目·oss·easyexcel·文件服务
Tangyuewei2 小时前
Java 写 Agent:模型只是组件
java·开发语言
小玮看世界3 小时前
[Python]从合并区间到传感器融合区:合并区间在传感器区域融合的实际落地
开发语言·python