'Emulator command not recognized in command line

I am trying to use enulator command and list all of my emulator nevertheless i get infromation that command is not found. My avds are installed in visual studio.

emulator -list-avds

Info:

'emulator' is not recognized as an in external command
operable program or batch file.


Solution 1:[1]

You need to add emulator ("$ANDROID_INSTALLATION/Android/Sdk/emulator") to your $PATH system variable. After updating your $PATH variable, you will need to restart the terminal session or open a new one and the command should be working.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Eduardo Bladimir