[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\jan03\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: C:\Program Files\Java\jdk-16\bin\server\bin\java
X Cannot execute C:\Program Files\Java\jdk-16\bin\server\bin\java to determine the version

What you have to do is, simply run the command
flutter config --jdk-dir "C:\Program Files\Java\jdk-<version>"
Then, run command
flutter doctor --android-licenses
Go to C:\Program Files\Android\Android Studio, then copy the contents of jbr and paste the contents into the jre folder.
It solve both problem
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With