Kotlin could not find the required JDK tools in the Java installation 'C:\Program Files\Java\jre1.8.0_291' used by Gradle. Make sure Gradle is running on a JDK, not JRE.
I am using Visual Studio Code.
CodePudding user response:
you can check it is already installed or not with executing
which java
command on terminal, then you can change your path on system environments.
CodePudding user response:
flutter doctor command gives you every dependency problem you might be missing