skip to Main Content

I have been struggling facing that problem in Android studio using Flutter.
image
Any solution for that issue?
I am using Windows 10 and tired of searching for that problem and fixing it.

2

Answers


  1. 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.

    Login or Signup to reply.
  2. Follow these steps.

    1. Go to C:Program FilesAndroidAndroid Studio
    2. Go into the jbr file, copy all of them and paste them into the jre file
    3. Run flutter doctor.
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search