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.
Read moreHow do I change my Java version on Flutter?
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.
Read moreWhich JDK is required for Flutter?
Requirements to create Flutter project Java 11 JDK installed and set in system environment variables.
Read moreDo I need to install JDK for Flutter?
Flutter (and possibly Android) would work with JDK version 8 . Just download the free jdk from jdk.java.net, uncompress it to a folder (or install), then set your machine’s JAVA_HOME env to that folder. Restart and retry. Show activity on this post.
Read more