You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Android Studio Flamingo出现Unsupported Java(Gradle与JDK兼容)错误

Android Studio构建首个项目遇Java与Gradle版本兼容错误

时隔9年重新开启Android开发,使用Android Studio v2022.2.1构建首个项目时出现如下错误:

Unsupported Java. 
Your build is currently configured to use Java 20.0.1 and Gradle 8.0.

Possible solution:
 - Open Gradle wrapper settings, change `distributionUrl` property to use compatible Gradle version and reload the project

已明确该问题核心为Gradle配置及版本兼容性问题,多数解决方案建议升级Gradle至7.4+或降级JDK版本。但当前已使用Gradle v8.0及Windows 10 x64系统可用的最新JDK,问题仍未解决。已尝试两篇Stack Overflow回答中的解决步骤,均无效。

内容的提问来源于stack exchange,提问作者Manu Mathur

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.20 00:25:02