If I run several emulators with -no-window option in one machine. The command "adb devices" shows:
List of devices attached
emulator-5554 device
emulator-5556 device
emulator-5558 device
...
However, according to this output, I can't tell the difference between each emulator device at all. I need to know which emulator runs on what AVD, then I can install APKs or send commands to the emulator.
How can I recognize each emulator device or get the serial number of emulator after it runs?