34

I tried command line in tools directory within terminal by typing android and

and bash says it cannot find the command. When I type ls I can see android.

Also am I obliged to use command line. Why Eclipse does only show a button for running SDK Manager which is not used often instead of AVD Manager ?

user310291
  • 35,095
  • 76
  • 252
  • 458

5 Answers5

84

If you don't want to use Eclipse this will fire it up.

Under tools folder write the following:

./android avd

Maziyar
  • 1,883
  • 2
  • 18
  • 37
Mohammed Atif Sami
  • 1,130
  • 8
  • 11
28

Today Eclipse has been replaced with Android Studio in the SDK bundle.

Android Studio for Mac installs the SDK in a subfolder in the user's Library folder, so the full command line to launch the AVD becomes:

~/Library/Android/sdk/tools/android avd
GOTO 0
  • 35,223
  • 20
  • 108
  • 138
20

On newer versions of Android Studio, this should be done by running the avdmanager binary located on tools/bin/ (relative to the SDK root directory):

$ ~/Library/Android/sdk/tools/bin/avdmanager

The same applies to the SDK Manager:

$ ~/Library/Android/sdk/tools/bin/sdkmanager
Gabriel Huff
  • 713
  • 1
  • 6
  • 18
19

avdmanager used only for create/move/remove avds.
GUI can be used only in Android Studio (I think GUI is a part of Idea plugin, not an independent app like before in Eclipse)

For run emulator from console use this:

For list available AVDs:

~/Library/Android/sdk/tools/emulator -list-avds

For run emulator:

~/Library/Android/sdk/tools/emulator @AVD_NAME
@ - required

Aloyan Dmitry
  • 1,033
  • 10
  • 15
-5

Eclipse -> Windows -> AVD Manager, You can make note of the button.

Eclipse shows both buttons (SDK and AVD Manager)

Am using -Eclipse SDK Version: 3.7.0

Sreeram
  • 554
  • 1
  • 5
  • 15