Can I select a particular Android Device Emulator from AVD using Apache Cordova?

For me:

If you use OSX, you can open shell in /platforms/android/cordova/lib/ as stated, and write the next command:

./list-emulator-images

after you've gotten the emulator image name,

cordova emulate android --target="the name"

Use the target parameter like this:

cordova emulate --target=emulator-5554 android

To get the device name of your emulator ("emulator-5554" in this example), run /platforms/android/cordova/lib/list-started-emulators.bat


If you run the following command you will get a list of all available devices:

cordova run android --list

enter image description here

Next you can emulate your app by running:

cordova run android --target="<Device_Name>"