buttons

 

ADB Concepts : How to display list of all Emulator(i.e. AVD names) in the System

Commands:

emulator -list-avds

avdmanager list avd

Get a step-by-step walkthrough in the video below!

To display the list of all Android Virtual Devices (AVDs, i.e., emulators) installed on your system, you can use the following command in your terminal or command prompt:

Command for avdmanager:

Alternative:

If avdmanager isn't available or you're using Android Studio's bundled tools, We can use:

Output:

This will print the names of all configured AVDs, e.g.:

These are the names you can use to start an emulator, like this:

Note: Make sure the emulator and avdmanager tools are in your system's PATH. They're typically located in the sdk/tools/bin/ or sdk/emulator/ directories.

GitHub Link:


No comments:

Post a Comment