Running it from the command line resulted in a segmentation fault:
$ emulator -avd nexus_s
Segmentation fault (core dumped)
However, runnin
On my Ubuntu 12.04 system, I solved this problem by making sure "Use Host GPU" was not turned on in the AVD configuration.
Type command
$ emulator-arm @nexus_s
Hope this helps :-)
wiping data and cold booting device through android studio solved this issue in ubuntu 16.04
If you don't find the answer here you should subscribe to:
There you will receive updates about this issue and find some workarounds (like renaming lib*.* files).
I had the same problem on Debian Wheezy. The grebulon's answer kind-of worked for me, however the emulator was sloooooow so I set out to fix it The Right Way (tm).
In this case Segmentation fault
probably indicates problems with OpenGL.
(note that last line of log is "emulator: Initializing hardware OpenGLES emulation support")
In my case, searching for 'GL' through /var/log/Xorg.0.log
showed some NVidia GLX driver (from old video card which went to digital heaven). Given the fact that I have AMD Radeon I uninstalled every package with 'nvidia' in it (list: apt-get search nvidia | grep ^i
) and installed:
# apt-get install libgl1-fglrx-glx
After reboot emulator complained about missing libOpenglRender.so
and libGL.so
, which I solved like this:
# echo "/opt/adt/sdk/tools/lib" > /etc/ld.so.conf.d/android_stuff.conf
# ldconfig
# cd /opt/adt/sdk/tools/lib
# ln -s /usr/lib/x86_64-linux-gnu/libGL.so.1 libGL.so
Note that my situation is probably unique (problems started when I went from NVidia to AMD), but the root of the problem is probably similar (OpenGL). I hope it helps someone.
UPDATE: still doesn't work, it looks like my drivers do not support 16-bit colors in OpenGL... will investigate further.
I finally found a solution after following CommonsWare's tip. Renaming libOpenglRender.so made the problem go away.
mv tools/lib/libOpenglRender.so tools/lib/libOpenglRender.so.xxx