- Refresh the Gradle configuration by clicking Reimport All Gradle Projects in the Gradle tool window in View > Tool Windows > Gradle.
Here's the link to our Troubleshooting Guide for your reference. - Please make sure that JDK 23 in Preferences > Build, Execution, Deployment > Build Tools > Gradle.
Also, ensure that JDK 23 as Project SDK in File > Project Structure.
If this does not help, please try the following:
Try to delete two folders from the project: .gradle (this folder may be hidden) and gradle. Then, try to rebuild the project:
The IDE terminal should prompt you to pick a Gradle version. Pick the latest one, and check.
If the steps described above did not help, please collect the full IDE log bundle as per this article and attach it to this support form. Don't forget to include a link to your profile and a problem or project stage you're trying to solve. It will help us to understand the issue and process your request much faster.