Your build is currently configured to use incompatible Java 21.0.6 and Gradle 7.3.3. Cannot sync the project.

We recommend upgrading to Gradle version 9.0-milestone-1.

The minimum compatible Gradle version is 8.5.

The maximum compatible Gradle JVM version is 17.

Possible solutions:
 - Upgrade to Gradle 9.0-milestone-1 and re-sync
 - Upgrade to Gradle 8.5 and re-sync

解决:

第一步:点击 Gradle Setting

第二步:切换合适的jdk版本

第三步:Sync Project  一下项目

Logo

Agent 垂直技术社区,欢迎活跃、内容共建。

更多推荐