For Mac User
Set Java_Home path using below article & then after applying below command
after that type below command on terminal
cd /Applications/Android\ Studio.app/Contents/jre
ln -s ../jre jdk
ln -s "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin" jdk
flutter doctor -v
Edit #1:
For Mac users who are using JetBrains Toolbox
, here is the solution:
Set Java_Home path using below article & then after applying below command
after that type below command on terminal
change username
to your macOS username
cd /Users/username/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/203.7583922/Android Studio.app/Contents/jre
ln -s ../jre jdk
ln -s "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin" jdk
flutter doctor -v
Source :
https://stackoverflow.com/questions/51281702/unable-to-find-bundled-java-version-on-flutter?rq=1
Comments
Post a Comment