@Get list of available emulators:
$ emulator -list-avds
Output:
2.7_QVGA_API_21
2.7_QVGA_API_22
Nexus_10_API_30
...
@Start emulator
$ emulator -avd Nexus_10_API_30
cd C:UsersusernameAppDataLocalAndroidSdkemulator // terminal path
emulator -list-avds //to get avd names
emulator -avd Pixel_2_API_30 // to run avd
cd C:UsersusernameAppDataLocalAndroidSdkemulator // terminal path
emulator -list-avds //to get avd names
emulator -avd Pixel_2_XL_API_30 // to run avd or
emulator -avd Pixel_2_XL_API_30 -gpu swiftshader_indirect // for software gpu
emulator -avd @name-of-your-emulator
emulator @DEVICE_NAME