2017-11-10 45 views
6

Mam reinstalowane studio android-studio 3.0 na moim ubuntu. Cała instalacja procesu była w porządku. Teraz stworzyłem nowy projekt. Ale gdy próbuję uruchomić, mam to na konsoli:Studio Android na Ubuntu 17.10: Proces emulatora dla AVD Nexus_5_API_22 został zabity

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

jakiś pomysł, proszę?

Aktualizacja Oto logi Emulator:

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) 

Aktualizuj 2

Mam ten sam problem na ubuntu 17.10 do innego komputera. Używam samouczka this do instalacji

+0

Spróbuj utworzyć nowy emulator – Zoe

+0

Możliwy duplikat [Nie można uruchomić emulatora w systemie Linux (Ubuntu 15.10)] (https://stackoverflow.com/questions/35911302/cannot-launch-emulator-on-linux-ubuntu-15- 10) – AesSedai101

Odpowiedz

9

Ścieżka do libstdc++ zmieniła się w Ubuntu 17.10. Wypróbuj następujące rozwiązania:

$ 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 

Powinieneś być teraz w stanie uruchomić emulator z poziomu Android Studio.

0

W systemie Ubuntu 17.10 z systemem Android Studio 3.01. Zmieniłem nazwę folderu biblioteki ~/Android/Sdk/emulator/lib64/lib/libstdC++ na libstC++. OLD i działało dobrze.

Powiązane problemy