I face this problem after I reset my android studio. I re install the android studio and re install the flutter latest version 3.12.3 stable.
I follow the steps mention by stack overflow users. I change the path of SDK to all the drive. I update my PowerShell to 5.0 version. I install the latest version of Git. my system and variable path are. but still when I type flutter or flutter doctor the cmd instantly closed. please help me with this issue. I did all the possible way to solve thisenter code here