Set the JDK version Open your project in Android Studio and select File > Settings… > Build, Execution, Deployment > Build Tools > Gradle (Android Studio > Preferences… > Build, Execution, Deployment > Build Tools > Gradle on a Mac). Under Gradle JDK, choose the Embedded JDK option. Click OK.
Read moreHow do I find my JDK path?
Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and in system variable try to find JAVA_HOME . This gives me the jdk folder.
Read moreHow do I find my JDK path?
Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and in system variable try to find JAVA_HOME . This gives me the jdk folder.
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