Android emulator vs adb

banderas20

Active Member
Joined
Aug 1, 2018
Messages
102
Reaction score
42
Credits
799
Hi everyone.

I have downloaded the Android tools and I'm running some tests via CLI.

I create 2 Android emulators with avdmanager and then I connect to them via adb.

If I want to see the list of emulators, I get:

Code:
avdmanager list avd

Available Android Virtual Devices:
    Name: Android1
    Path: /home/foo/.android/avd/Android1.avd
---------
    Name: Android2
    Path: /home/foo/.android/avd/Android2.avd

If I want to see the adb connections, I get something like this

Code:
adb devices

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


¿How can I know which adb device corresponds to each emulator?

Thanks!
 

Members online


Latest posts

Top