- 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 11 in Preferences > Build, Execution, Deployment > Build Tools > Gradle.
Also, ensure that JDK 11 as Project SDK in File > Project Structure.
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.