2017-06-09 20 views
1

AndroidエミュレータがUbuntuで始まらない、以下はエミュレータ起動時のエラーログです。エミュレータはすぐに起動して終了します。 私はUbuntuのに16.10を使用してM、とAndroid Studioバージョン2.3.1ubuntuでAndroidエミュレータが起動していません

libGL error: unable to load driver: i965_dri.so 
libGL error: driver pointer missing 
libGL error: failed to load driver: i965 
libGL error: unable to load driver: i965_dri.so 
libGL error: driver pointer missing 
libGL error: failed to load driver: i965 
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: 55 
    Current serial number in output stream: 54 
libGL error: unable to load driver: i965_dri.so 
libGL error: driver pointer missing 
libGL error: failed to load driver: i965 
libGL error: unable to load driver: i965_dri.so 
libGL error: driver pointer missing 
libGL error: failed to load driver: i965 
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: 55 
    Current serial number in output stream: 54 
libGL error: unable to load driver: i965_dri.so 
libGL error: driver pointer missing 
libGL error: failed to load driver: i965 
libGL error: unable to load driver: i965_dri.so 
libGL error: driver pointer missing 
libGL error: failed to load driver: i965 
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: 39 
    Current serial number in output stream: 40 
QObject::~QObject: Timers cannot be stopped from another thread 
[1] 13209 segmentation fault ./emulator -avd Nexus_5X_API_26 
+0

あなたは 'glxinfo | grep "OpenGLのバージョン"とそれの出力は何ですか? –

+0

Intel Linuxドライバを搭載したUbuntu 17.04と同じ問題で、glxinfoは "OpenGL version string:3.0 Mesa 17.0.7" – Maurix

答えて

2

出典:Android Studio 2.3 Ubuntu 16.10 emulator do not start

sudo apt-get install lib64stdc++6:i386 
sudo apt-get install mesa-utils 

(SDKのパスを探してください)

最後に
cd YOURPATH/Android/Sdk/emulator/lib64 
mv libstdc++/ libstdc++.bak 
ln -s /usr/lib64/libstdc++.so.6 libstdc++ 

、実行エミュレータを使用してアプリケーションを再起動します。

関連する問題