xxxxxxxxxx
cd /Applications/Android\ Studio.app/Contents/jre
ln -s ../jre jdk
ln -s "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin" jdk
flutter doctor -v
open terminal, and run below commad
xxxxxxxxxx
cd ~/android-studio/ && ln -s jbr jre
xxxxxxxxxx
if you are using windows go to this directory
C:\Program Files\Android\Android Studio
and check older Android Studio folders are exist if exist delete those.
it will work.
xxxxxxxxxx
WINDOWS SOLVED
GO TO
C:\Program Files\Android\Android Studio
then copy the content of jbr and paste the content into jre folder
run doctor again and problem solved
xxxxxxxxxx
cd /Applications/Android\ Studio.app/Contents/jre
ln -s ../jre jdk
ln -s "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin" jdk
flutter doctor -v
xxxxxxxxxx
unable to find bundled java version. flutterJava By Android developer on Nov 26 2021 ThankComment
if you are using windows go to this directory
C:\Program Files\Android\Android Studio
and check older Android Studio folders are exist if exist delete those.
it will work.
2
unable to find bundled java version. flutterJava By Prickly Puma on May 16 2022 ThankComment
cd /Applications/Android\ Studio.app/Contents/jre
ln -s ../jre jdk
ln -s "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin" jdk
flutter doctor -v