35

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
  • 36,946
  • 82
  • 271
  • 487

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,913
  • 2
  • 18
  • 37
Mohammed Atif Sami
  • 1,140
  • 8
  • 12
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
  • 42,323
  • 22
  • 125
  • 158
21

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
  • 743
  • 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

Joviallix
  • 1,069
  • 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
  • 564
  • 1
  • 5
  • 15