Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator is not starting in Ubuntu

I have Ubuntu 11.04 and i downloaded latest eclipse ADT bundle, i also have installed all ia32libs, i dont know why the emulator is not starting, i have tried various device configurations, i have 4 platforms 2.2, 2.3 , 4.0 ,4.2. i have tried various permutation and combination, but virtual device does not show up-none of them.

I have also tried various solutions in other SO'questions, they do not solve my problem. i have been stuck in these for weeks, still i have reached no where?Please Help

FYI: I also have eclipse Helios, in that it works fine but, i cannot get/download platform above 3.0/Honeycomb in that, and in the Helios the virtual devices work fine. i dont know whether its relevant or not, but still..

like image 670
Akhil Jain Avatar asked Feb 20 '13 09:02

Akhil Jain


People also ask

Why Android Emulator is not opening?

If the Android Emulator does not start properly, this problem is often caused by problems with HAXM. HAXM issues are often the result of conflicts with other virtualization technologies, incorrect settings, or an out-of-date HAXM driver. Try reinstalling the HAXM driver, using the steps detailed in Installing HAXM.

Why is my AVD Manager not working?

SDK Build Tools are not installed You look at the build tab at the bottom of the screen, it will display the error message and option to install the Build tools. Install it and you should be able to see the AVD Manager. Another way is to go to the SDK Manager. Under SDK Tools you will find the Android SDK Build tools.


2 Answers

Run your emulator in Command Line Parameters

To start an instance of the emulator from the command line, navigate to the tools/ folder of the SDK. Enter emulator command like this:

emulator -avd <avd_name>

more about emulator link here:

like image 162
Padma Kumar Avatar answered Sep 22 '22 01:09

Padma Kumar


On Ubuntu 14.04 64bit with a NVidia graphics card I had to do the following:

  1. Install the SDK and ADT plugin for Eclipse
  2. Install 32-bit libraries sudo apt-get install lib32stdc++6 lib32z1
  3. Install OpenGL libraries sudo apt-get install libgl1-mesa-dev
  4. Install proprietary drivers for the graphics card: System Settings > Software & Updates > Additional Drivers NVIDIA binary driver version 331.38
  5. From Eclipse, run the Android Virtual Device Manager and edit a device. Enable "Use Host GPU" & save.

It then worked.

like image 37
David Avatar answered Sep 25 '22 01:09

David