Android Studio AVD - emulator: process terminated with exit code 1

I am having trouble launching my Android emulator. Nothing seems to be loading.

Pixel 2 API 26 Android 8.0 x86.

Linux Ubuntu 16.04 LTS 64-bit.

12/10/17 2:20 PM Emulator: libGL error: unable to load driver: vmwgfx_dri.so

2:20 PM Emulator: libGL error: missing driver pointer

2:20 PM Emulator: libGL error: failed to load driver: vmwgfx

2:20 PM Emulator: libGL error: unable to load driver: swrast_dri.so

2:20 PM Emulator: libGL error: failed to load driver: swrast

2:20 PM Emulator: X Request failed error: BadValue (integer parameter out of range for operation)

2:20 PM Emulator: basic failed request operation code: 155 (GLX)

2:20 PM : : 24 (X_GLXCreateNewContext)

2:20 PM : : 0x0

2:20 PM : : 33

2:20 PM : : 34

2:20 PM : 1

+17
11

libGL libstdc++

, " Software Emulated Performance Graphics AVD.

libstdc++.so.6 ( ) , Android SDK. 2 :

  • -use-system-libs. : ~/Android/Sdk/tools/emulator -avd Nexus_5_API_23 -use-system-libs.

    Linux libstdc++ ( Qt) , ( Android SDK) .

  • ANDROID_EMULATOR_USE_SYSTEM_LIBS 1 user/system.

    , , Android Studio.

.: libGL libstdc++: AVD -

+25

AVD Manager โ†’ โ†’ โ†’ (Selct Cold boot).

+9

Android avd C:\Users\[USERNAME] \. Android. , avd C:\Users\[USERNAME] \. Android C:\Android\.android. .

+2

:

Sdk manager SDK Tools : enter image description here

Unistal Android: enter image description here

!

+2

Android Studio, .

: : AVD 'Nexus_5_API_21'. ...

+2

Windows 10:

1: Android Studio

2. :
: ANDROID_SDK_HOME
-: C:\Users\[USERNAME] \. android

3: Android Studio

OBS!
Android Studio avd C:\Users\[USERNAME] \. Android

+1

AVD Manager, " ", AVD, , " ". "Cache.img" "cache.img.qcow2"..

.

0

.

  1. , , BIOS. , , BIOS.
    1. AVD Manager โ†’ โ†’ โ†’ ( ). . , .
0

( ).

0

  • , ( ). , .

  • .

  • Android Studio .
0
source

Open AVD Manager and click on the drop-down list next to the emulator, select the show on disk and delete the file with the extension .lock. After uninstalling, run your emulator. This is suitable for me.

0
source

Source: https://habr.com/ru/post/1690512/


All Articles