Error Creating Project - 'where' is not recognized as an internal or external command, operable program or batch file

2,472

=>Go To Control Panel>>All Control Panel Items>>System

=>Click on Advanced Option then Click On Environment Variables

=> In User Variables Add

%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;

=> In System Variables add

%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

%SYSTEMROOT%\System32\OpenSSH\

%SystemRoot%\System32\Wbem

%SystemRoot%\system32   

%SystemRoot%

Then Restart Your System And Run Android Studio create a flutter Project after specifying the sdk path !

Share:
2,472
rohanpandav
Author by

rohanpandav

Updated on December 11, 2022

Comments

  • rohanpandav
    rohanpandav over 1 year

    I just installed Android Studio on my Windows 10 System. I got some error related to Virtualization (for Android emulation as my virtualization was disabled), I enabled virtualization and restarted my PC. Then I installed Flutter and Dart's plugin. Now I am getting this error whenever I am trying to create a Flutter project in Android Studio - 'where' is not recognized as an internal or external command, operable program or batch file.

    What I have tried -

    Reinstalled Android Studio, Deleted folder related to Android Studio from user folder (ie. C:\Users\username)

    What else should I try?

    'where' is not recognized as an internal or external command, operable program or batch file.

    • smitty_werbenjagermanjensen
      smitty_werbenjagermanjensen almost 5 years
      Have you put flutter in your path environment variables? Make sure you follow the flutter steps step by step flutter.dev/docs/get-started/install/windows
    • rohanpandav
      rohanpandav almost 5 years
      Oh no I missed some steps. Thank you so much Joe, I feel really silly to post this issue here..
    • smitty_werbenjagermanjensen
      smitty_werbenjagermanjensen almost 5 years
      It's all good it happens! No worries mate cheers!