Kurt Peek
Kurt Peek

Reputation: 57471

How to list the available Android Virtual Devices (AVDs)

I'm trying to follow What is the command to list the available avdnames, but I'm missing a bit of context. I gather that the command

android list avd

needs to be typed into a command-line interface (presumably the Android Debug Bridge (adb)), but how do I start up this interface? I've installed adb and but if I simply type it as a command at the command line, only a manual is printed.

Update

Following the answer given, I went to the ~/Android/Sdk/tools (I used the default location during installation) and ran ./android list avd (see below). (There are other errors, but at least the command works).

enter image description here

Upvotes: 5

Views: 5261

Answers (2)

Hans Poo
Hans Poo

Reputation: 924

Info update, selected solution works but its deprecated, nowadays you should use:

cd ~/Android/Sdk/tools
./bin/avdmanager list avd

Upvotes: 2

Ravi
Ravi

Reputation: 35559

  1. Move to the directory where you have installed Android SDK.
  2. Move inside Tools folder and write command android list avd

Upvotes: 6

Related Questions