Your build is currently configured to use incompatible Java 26 and Gradle 8.13. Cannot sync the proj

张开发
2026/6/9 0:47:18 15 分钟阅读
Your build is currently configured to use incompatible Java 26 and Gradle 8.13. Cannot sync the proj
Your build is currently configured to use incompatible Java 26 and Gradle 8.13. Cannot sync the project.The maximum compatible Gradle JVM version is 23.版本不匹配你的项目使用了Java 26最新版本但Gradle 8.13官方最高仅支持到JDK 23。Gradle 8.13 无法运行在 Java 26 环境上。Incompatible Gradle JVMGradle 运行环境不兼容。Unsupported class file major version 70这是 Java 26 的类文件版本号说明你的代码或依赖是用 Java 26 编译的但 Gradle 8.13 的运行环境JVM识别不了这个版本。Android Studio File → Settings → Build, Execution, Deployment → Build Tools → Gradle → Gradle JDK 直接下载

更多文章