Sufian Awad
Sufian Awad

Reputation: 131

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

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

Upvotes: 13

Views: 25414

Answers (5)

Chris A
Chris A

Reputation: 1090

Anyone still having issues after trying these things, note that there is a ongoing issue with the Android plugin for IntelliJ IDEA (but Android Studio works).

https://youtrack.jetbrains.com/issue/IDEA-231313

Workaround is to run the .bat file from the IntellJ installation path.

Upvotes: 0

Dmitro25
Dmitro25

Reputation: 173

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

Upvotes: 0

David
David

Reputation: 241

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.

Upvotes: 12

Arslan Ahmad khan
Arslan Ahmad khan

Reputation: 5814

Make sure your graphics driver is updated

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

enter image description here

  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).

enter image description here

Upvotes: 13

Omkar
Omkar

Reputation: 3100

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

enter image description here

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

Upvotes: 0

Related Questions