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
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.
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).
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 FilesAndroidAndroid Studio)
remove jre folder
run cmd as administrator
cd C:Program FilesAndroidAndroid 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
6
Answers
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
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.
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).
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 😊
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 FilesAndroidAndroid Studio)
remove jre folder
run cmd as administrator
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
This issue has been fixed in the latest version of flutter 3.7.9