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..
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:
On Ubuntu 14.04 64bit with a NVidia graphics card I had to do the following:
- Install the SDK and ADT plugin for Eclipse
- Install 32-bit libraries
sudo apt-get install lib32stdc++6 lib32z1
- Install OpenGL libraries
sudo apt-get install libgl1-mesa-dev
- Install proprietary drivers for the graphics card: System Settings > Software & Updates > Additional Drivers NVIDIA binary driver version 331.38
- From Eclipse, run the Android Virtual Device Manager and edit a device. Enable "Use Host GPU" & save.
It then worked.
Ubuntu Android Emulator Problem [Solved]
The issue with android emulator is not the hardware drivers. It is OpenGL drivers. To solve it please go through these steps:
- Open synaptic package manager (If not please install it from Ubuntu software center)
- In Quick filter type “opengl” and press search.
Select the following packages:
libgles1-mesa-dev
libgles2-mesa-dev
libgles1-mesa
libgles2-mesa
libqt4-opengl [Update/Upgrade]
glmark2
glmark2-es2
libgles1-mesa-dbg
libgles2-mesa-dbg
freeglut3
libhugs-opengl-bundled
Selection procedure
Right click on the package and select as ‘Mark for Installation”.- And click ‘Apply’.
- Enjoy the ANDROID PROGRAMMING WITH THE EMULATOR.
on Ubuntu 12.04 LTS 64-Bit (installed the 32-bit libraries), My Case was :
1- downloaded and installed the SDK properly
2- download ADT plug in to Eclipse and restart it
3- set the SDK directory properly
4- create an Android project, and click RUN AS > Android application
5- asked me for an Emulator, so i created one from the AVD (after some steps from the Run Configurations)
6- then i Right-Click that application again, RUN AS > Android Application
7- a message appears > ERROR : Couldn's start Emulator ... install SDK properly (something like that)
8- Restart Eclipse ... every thing is fine !!!!!!!!!!!!!!!!!!
You need to change the following option:
Edit your avd and change the "emulated performance" option to "software".
It will work.
I am using Bumblebee
to disable my nvidia card...
It seems like Android Studio does not like that.
optirun /opt/android-studio/bin/studio.sh
And then open AVD Manager in Android Studio made it work.
Source: https://cialu.net/solve-android-studio-avd-issue-with-ubuntu-16-10/
sudo apt-get install lib64stdc++6:i386
sudo apt-get install mesa-utils
(look for the path of the sdk)
cd YOURPATH/Android/Sdk/emulator/lib64
mv libstdc++/ libstdc++.bak
ln -s /usr/lib64/libstdc++.so.6 libstdc++
Finally, run your application again using emulator.
If you are getting error like above then please update/upgrade your Linux Machine(Ubuntu) as for example
- sudo apt-get update
- sudo apt-get upgrade
and make sure that all as per Android Developer website all the required software are installed. If Still you are facing same issue as per image then use su mode in your terminal before starting emulator. sudo su - Use this command to be Su user
来源:https://stackoverflow.com/questions/14976353/android-emulator-is-not-starting-in-ubuntu