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 moreWhich JDK is required for Flutter?
Requirements to create Flutter project Java 11 JDK installed and set in system environment variables.
Read more