Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 :)

like image 818
hqt Avatar asked Mar 10 '26 13:03

hqt


2 Answers

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
like image 122
dispatchMain Avatar answered Mar 12 '26 04:03

dispatchMain


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.

like image 28
Ashkan Rahmany Avatar answered Mar 12 '26 04:03

Ashkan Rahmany



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!