I have been struggling facing that problem in Android studio using Flutter.
Any solution for that issue?
I am using Windows 10 and tired of searching for that problem and fixing it.
If you installed Android Studio Electric Eel | 2022.1.1
For Windows Users,
Open the terminal and open to the android studio directory
Like,
cd C:Program FilesAndroidAndroid Studio
Then,
mklink /D "jre" "jbr”
copy the content of jbr and paste the content into jre folder
To resolve the issue after completing the above change, just create a sym link jre -> jbr.
run doctor this commend ‘flutter doctor’ again and the problem is solved.
2
Answers
If you installed Android Studio Electric Eel | 2022.1.1
For Windows Users,
Open the terminal and open to the android studio directory
Like,
Then,
copy the content of jbr and paste the content into jre folder
To resolve the issue after completing the above change, just create a sym link jre -> jbr.
run doctor this commend
‘flutter doctor’
again and the problem is solved.Follow these steps.