Emulator: Process finished with exit code -1073741819 (0xC0000005)

◇◆丶佛笑我妖孽 提交于 2019-12-17 09:52:10

问题


I'm using android studio 3.0.1, when I start my emulator I get many error messages, I've tried to solve each problem separately, I also searched a lot but nothing works for me.

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)

I also tried this


回答1:


Make sure your graphics driver is updated

  1. Go to tools
  2. Go to Android
  3. Select AVD Manager.

  1. click on the pencil icon in under Action
  2. Click Advanced Settings button.
  3. In Emulated Performance row change Graphics to Software GLES 2.0
  4. In Memory, row change RAM field to 512(minimum).




回答2:


I modified the avd config file and solved a similar problem.

  1. find your avd folder.(If your using Windows OS, the default path is C:\Users\USER_NAME\ .android\avd\YOUR_VIRTUAL_DEVICE_NAME.avd)
  2. open the file config.ini
  3. find hw.gpu.mode and set it to off (hw.gpu.mode=off)
  4. launch the AVD manager
  5. launch your virtual device.



回答3:


check in your emulator setting Use Host GPU enabled shown in below image

this will you get Android Studio -> Tools -> Android -> AVD Manager here




回答4:


I faced the same problem. In my case, running Android Studio as an administrator solved the problem.



来源:https://stackoverflow.com/questions/47631771/emulator-process-finished-with-exit-code-1073741819-0xc0000005

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!