Go to File > Project Structure. Select the SDK Location section in the list of the left. Deselect the Use embedded JDK (recommended) option. Enter the absolute path of your installed JDK in the text box.29 Mar 2021
Read moreWhich version of java do I need for flutter?
Java 11 JDK installed and set in system environment variables. Flutter and Dart extension installed.
Read more