Copy the C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe amd paste it in the shell path in android studio open settings , go to terminal , and paste the powershell.exe folder path in the shell path after that your issue will be fixed