xxxxxxxxxx
In your android studio content
1. create a folder then name it 'jre'
2.go the jbr folder and copy the content folder
3. paste the copied content into the 'jre' folder you created
4. run ' flutter doctor -v' again
for more info 'https://www.youtube.com/watch?v=ry_Zyyq-ZDQ'
xxxxxxxxxx
cd /Applications/Android\ Studio.app/Contents/jre
ln -s ../jre jdk
ln -s "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin" jdk
flutter doctor -v