• Check it out - we have a chatbot! Go ask TuxBot a question in the Ask Tuxbot section!

Android emulator vs adb

banderas20

Member
Joined
Aug 1, 2018
Messages
46
Reaction score
18
Credits
307
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!
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online

No members online now.

Latest posts

Top