模拟器:进程以退出代码-1073741819(0xC0000005)结束

Suf*_*wad 7 android opengl-es android-emulator

我正在使用android studio 3.0.1,当我启动我的模拟器时,我收到很多错误消息,我试图分别解决每个问题,我也搜索了很多,但没有什么对我有用.

12:24 ? Emulator: init: Could not find wglGetExtensionsStringARB!

12:24 ? Emulator: OpenGL backend 'angle' without OpenGL ES 1.x library 
detected. Using GLESv2 only.

12:24 ? Emulator: Failed to eglInitialize

12:24 ? Emulator: Could not initialize emulated framebuffer

12:24 ? Emulator: Warning: requested RAM 1024M too high for your system. 
Reducing to maximum supported size 512M

12:25 ? Emulator: emulator: ERROR: Could not initialize OpenglES emulation, 
use '-gpu off' to disable it.

12:25 ? Emulator: Process finished with exit code -1073741819 (0xC0000005)
Run Code Online (Sandbox Code Playgroud)

我也尝试过这个

Ars*_*mad 11

确保您的图形驱动程序已更新

  1. 工具
  2. 转到Android
  3. 选择AVD Manager.

在此输入图像描述

  1. 单击"操作"下的铅笔图标
  2. 单击高级设置按钮.
  3. 在模拟性能行中将图形更改为软件GLES 2.0
  4. 在内存中,行更改RAM字段为512(最小值).

在此输入图像描述


Dav*_*vid 5

我修改了avd配置文件并解决了类似的问题。

  1. 找到您的avd文件夹。(如果使用Windows操作系统,则默认路径为C:\Users\USER_NAME\ .android\avd\YOUR_VIRTUAL_DEVICE_NAME.avd
  2. 打开文件 config.ini
  3. 找到hw.gpu.mode并将其设置为offhw.gpu.mode=off
  4. 启动AVD管理器
  5. 启动您的虚拟设备。


Omi*_*miK 0

检查您的模拟器设置Use Host GPU已启用,如下图所示

在此输入图像描述

你会到达Android Studio -> Tools -> Android -> AVD Manager这里