Flutter: Unable to find bundled java version

preview_player
Показать описание


How to fix this issue after you updated your Android studio to Arctic Fox.

First edit your zshrc file with this:

export JAVA_HOME=$(/usr/libexec/java_home)

Then go to terminal and do these commands:

2. ln -s ../jre jdk

Open android studio and everything runs fine. Then check flutter doctor -v

Рекомендации по теме
Комментарии
Автор

I love when people tell you to do things they never explain. Wonderful.

ikerbilbatua
Автор

I was panicking cause of this problem, thank you so much. Wonderful solution!!

francescomariamarchetti
Автор

Excellent Julia, greetings from Puerto Varas

brokercl
Автор

OWWW this was the only solution that worked for me on MACBOOK M1

Asl_q
Автор

I made this video a year ago and it was based on a problem I had back then. I only have mac machines so I cannot comment on windows! I am now upgrading to Electric eel, so look at my channel to see similar solution when/if I have this issue with Electric eel!

Juliapak
Автор

Do you have these commands for Window10 ?

kaleemqureshi
Автор

Hi, I don't have a jre folder for the new Electric eel version, but I have thesame error, any idea on how to resolve it? Although, I do have a jbr folder, would it be the same? This video was super helpful. Thank you!!

adithyakrishna
Автор

It says there is no directory such as cd /Applications/Android\ Studio.app/Contents/jre what can I do ?

selimyaylal
Автор

Hello I am using window can you help pls

cabdiraxmaanmacalin
Автор

Just bought mac m1 few days ago switched from windows. I dont have zshrc file how can i locate it ?

mhmtkrnlk
Автор

when I executing first command it shows there is no such file or directory

afluxmhd