4

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

2 Answers 2

6
  1. Move to the directory where you have installed Android SDK.
  2. Move inside Tools folder and write command android list avd
1
  • I had to run ./android list avd with a ./ in front.
    – Kurt Peek
    Dec 8, 2016 at 12:07
2

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.