hqt
hqt

Reputation: 30276

Linux: start Android SDK or Android Emulator

I'm using Linux (fedora 16). I try to install Android SDK and ADT. Each time I want to run Android SDK or Android Emulator, I must run from Eclipse, but I don't know how run directly. (don't need to open Eclipse)

In Windows, in AndroidSDK folder has file exe so you can run directly such as AVD Manager.exe or SDK Manager.exe but not in Linux.

Please help me about this issue.

Thanks :)

Upvotes: 2

Views: 19992

Answers (3)

girimajiananth
girimajiananth

Reputation: 26

try using the following commands , this should work if you have installed the sdk correctly

  1. Open a terminal
  2. su
  3. input your password
  4. cd Android/SDK/tools (enter)
  5. ./emulator -noaudio @android_dev

Upvotes: 1

Ashkan Rahmany
Ashkan Rahmany

Reputation: 132

It's better to store Android SDK in /opt/ and just run: $ sudo /opt/android-sdk-linux/tools/android

You can add & at end to run it as background process.

Upvotes: 3

dispatchMain
dispatchMain

Reputation: 1617

You can launch android SDK manager by simply moving to android-sdk/tools folder and using the following command:

./android &

To launch the emulator, from the same folder you need to execute the following command:

./emulator -avd youravdname

Upvotes: 10

Related Questions