如何使用 ADB 识别 android 模拟器 (AVD)

How to identify an android emulator (AVD) using ADB

我使用模拟器 AVD,我有 3 个 android :

我用命令行启动第一个和第二个 android :

emulator -avd test
emulator -avd test1

之后,当我使用此命令行时:

avd devices

我有

List of devices attached
emulator-5556 device
emulator-5554 device

如何使用 adb(仅命令行)识别我的 android 模拟器?
如果不可能,我怎么知道我的设备是否以 "emulator"(仅命令行)启动?

尝试对AVD

做一个TELNET
emulator -avd test
emulator -avd test1

avd devices

List of devices attached 
emulator-5556 device 
emulator-5554 device

telnet localhost 5554
Trying 127.0.0.1...
Connected to localhost.
...
OK
avd name
test1