0

I have updated android studio, after that i am getting this error. Unable to find bundled Java version. enter image description here

6 Answers 6

3

unable to find bundle java version

for solving this error on mac just go to finder>Apllications>Android studio:

right click and click show package contents

open the folder of contents

create a new folder called jre

copy the contents of the jbr folder and paste them into jre folder

delete jbr folder

run flutter doctor your error is solved 😊

Sign up to request clarification or add additional context in comments.

1 Comment

If you want to clean up your answer, Doing a symbolic link is better, cd "/Applications/Android Studio.app/Contents"; ln -s jbr jre
1

The latest update of Android studio had an issue, which can be resolved as follows: For Windows Go To android studio directory (Default C:\Program Files\Android\Android Studio) remove jre folder run cmd as administrator

cd C:\Program Files\Android\Android Studio mklink /D "jre" "jbr" 

This issue may be caused by the fact that newer version of Android Studio come with JBR as a bundled java version.For more Reference click here

Comments

0

Try restarting the Studio, reinstall it or Invalidate Caches from File. I am sure one of it will work. The package could be missing in the update. If it doesn't work, open a issue at here

1 Comment

Try reinstalling
0

If Just kidding's answer does not work you can just reinstall Android Studio (don't forget to load the Flutter and Dart plugins) and it should be fine again.

1 Comment

I'm almost try all possible solution but nothing work. Only this one work for me. Its from August 9, 2021 Check the link for the solution stackoverflow.com/a/68703869/8555332
0

My path to java was broken after updating AS to latest version (2020.3.1) and I had to fix it manually. Your issue seems related. Check your Android Studio -> Preferences -> Build, Execution, Deployment -> Build Tools -> Gradle and see if gradle jdk path is set correctly (to your java installation on your mac).

enter image description here

Comments

0

This issue has been fixed in the latest version of flutter 3.7.9

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.