After upgrading IntelliJ IDEA to version 2021.1 (Ultimate) it fails to load gradle projects. It displays a message:
The Jdk installation is invalid.
Selected Jdk location is C:/Program Files/Java/jdk-11.0.3.
Select a JDK from the File System
Download JDK 8
The problem is that when I click "Select a JDK from the File System", a window with "Android SDK location" and "Android NDK location" appears. The projects are not for Android, so why is the IDE asking for Android libraries? And how to fix it?
(OS: Windows 10)