Error al lanzar emulador de Android studio en Ubuntu16.04

Si al momento de crear emulador de smartphone sale el siguien error en Ubuntu 16.04 de 64bits.

libGL error: unable to load driver: r600_dri.so 
libGL error: driver pointer missing 
libGL error: failed to load driver: r600 
libGL error: unable to load driver: 
swrast_dri.so 
libGL error: failed 
to load driver: swrast X Error of failed request: GLXBadContext 
Major opcode of failed request: 155 (GLX) 
Minor opcode of failed request: 6 (X_GLXIsDirect) Serial number of failed request: 47 Current serial number in output stream: 46 libGL error: unable to load driver: r600_dri.so libGL error: driver pointer missing libGL error: failed to load driver: r600 libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast X Error of failed request: GLXBadContext Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 6 (X_GLXIsDirect) Serial number of failed request: 47 Current serial number in output stream: 46 libGL error: unable to load driver: r600_dri.so libGL error: driver pointer missing libGL error: failed to load driver: r600 libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 155 (GLX) Minor opcode of failed request: 24 (X_GLXCreateNewContext) Value in failed request: 0x0 Serial number of failed request: 33 Current serial number in output stream: 34 QObject::~QObject: Timers cannot be stopped from another thread emulator: WARNING: Increasing RAM size to 1GB


La solución a este problema es crear enlaces por lo que tienes que posicionarte dentro de esta carpeta.

 cd /home/Tu_Usuario/Android/Sdk/Tools/lib64/libstdc++
 mv libstdc++.so.6 libstdc++.so.6.bak
 ln -s /usr/lib64/libstdc++.so.6
 
Con esto es seguro que ya no saldrá el error y te dejará crear y ejecutar correctamente tu emulador.




2 comentarios: