2017-11-10 4 views
6

Ich habe Android-Studio 3.0 auf meinem Ubuntu neu installiert. Die gesamte Prozessinstallation war in Ordnung. Jetzt habe ich ein neues Projekt erstellt. Aber wenn ich versuche zu laufen, bekomme ich diese auf der Konsole:Android Studio auf Ubuntu 17.10: Der Emulator-Prozess für AVD Nexus_5_API_22 wurde getötet

11/10 21:10:19: Launching app 
Error while waiting for the device: The emulator process for AVD Nexus_5_API_22 was killed. 

enter image description here

Jede Idee, bitte?

aktualisieren Hier Emulator Protokolle:

Executing tasks: [:app:assembleDebug] 
Emulator: libGL error: unable to load driver: i965_dri.so 
Emulator: libGL error: driver pointer missing 
Emulator: libGL error: failed to load driver: i965 
Emulator: libGL error: unable to load driver: i965_dri.so 
Emulator: libGL error: driver pointer missing 
Emulator: libGL error: failed to load driver: i965 
Emulator: libGL error: unable to load driver: swrast_dri.so 
Emulator: libGL error: failed to load driver: swrast 
Emulator: X Error of failed request: BadValue (integer parameter out of range for operation) 
Emulator: Major opcode of failed request: 155 (GLX) 
Emulator: Minor opcode of failed request: 24 (X_GLXCreateNewContext) 
Emulator: Value in failed request: 0x0 
Emulator: Serial number of failed request: 39 
Emulator: Current serial number in output stream: 40 
Emulator: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) 

aktualisieren 2

ich das gleiche Problem habe auf verschiedenen Ubuntu 17.10 Computer. Ich verwende this Tutorial zur Installation

+0

Versuchen Sie, einen neuen Emulator zu erstellen – Zoe

+0

Mögliches Duplikat von [Emulator unter Linux (Ubuntu 15.10) nicht starten] (https://stackoverflow.com/questions/35911302/cannot-launch-emulator-on-linux-ubuntu-15- 10) – AesSedai101

Antwort

9

Der Pfad zu libstdc++ hat sich in Ubuntu 17.10 geändert. Versuchen Sie Folgendes:

$ cd ~/Android/Sdk/emulator/lib64/libstdc++ 
$ mv libstdc++.so.6 libstdc++.so.6.bak 
$ ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6 

Sie sollten jetzt den Emulator aus Android Studio starten können.

0

Auf Ubuntu 17.10 mit Android Studio 3.01. Ich habe den Bibliotheksordner ~/Android/Sdk/emulator/lib64/lib/libstdC++ in libstC++ umbenannt. OLD und funktionierte gut.

Verwandte Themen