2016-11-24 4 views
1
starten

Emulator Kann nicht von AVD-Manager in Ubuntu mit Android Studio starten. Aber wenn ich folgenden Code eintippe, läuft der Terminal-Emulator.Emulator Kann nicht von AVD-Manager in Android Studio

Kann mir jemand helfen, dieses Problem zu lösen, um Emulator Formular AVD verwalten.

LD_PRELOAD='/usr/lib/x86_64-linux-gnu/libstdc++.so.6' ~/Android/Sdk/tools/emulator -netdelay none -netspeed full -avd Nexus_4_API_23 

Als ich ein Dialog auf AVD-Manager wird mit folgenden Meldung Nachricht Dialogfeld angezeigt:

Cannot launch AVD in emulator. 
Output: 
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: 49 
Current serial number in output stream: 48 
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: 49 
Current serial number in output stream: 48 
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 opc 

Run Tab Fehlermeldung ist:

/home/mahmud/Android/Sdk/tools/emulator -netdelay none -netspeed full -avd Nexus_4_API_23 
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: 49 
Current serial number in output stream: 48 
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: 49 
Current serial number in output stream: 48 
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 
+0

Warum verwenden Sie kein echtes Gerät oder einen Genymotion-Emulator? –

+0

Kann dieser Fehler für echtes Gerät? –

Antwort

2

Das Problem ist, im Zusammenhang mit libstdC++.so.6 gehen Android sdk und kann mit dem folgenden Befehl gelöst werden:

cd ~/...../sdk/tools/lib64/libstdc++ 
mv libstdc++.so.6 libstdc++.so.6_OLD 
ln -sf /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6 
+0

Vielen Dank Basi für Ihre Antwort. Mein Problem wird mit diesem Befehl gelöst. Ich danke dir sehr –

Verwandte Themen