Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not run Android emulator as could not initialize emulated framebufferHAX in Windows 7

I am using Google map activity and added some dependencies to display the map on an emulator.

I'm getting the following error:

C:\Users\root\AppData\Local\Android\sdk\tools\emulator.exe -netdelay none -netspeed full -avd Nexus_One_API_21
Failed to create Context 0x3005
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
emulator: WARNING: Could not initialize OpenglES emulation, using software     renderer.
could not get wglGetExtensionsStringARB
emulator: device fd:524
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
Could not initialize emulated framebufferHAX is working and emulator runs in fast virt mode
ERROR: Could not create renderer: Couldn't find matching render driver

I reinstalled all plugins and SDK but it didn't help.

The emulator is shown for a millisecond and disappears again, and I end up with this message.

like image 393
suri Avatar asked Mar 05 '15 03:03

suri


People also ask

How do I fix Android emulator not working?

If the emulator fails to launch due to the error vulkan-1. dll cannot be found , you probably need to update the emulator. To update the emulator in Android Studio, go to Tools > SDK Manager and install the latest stable version of Android platform.

Why is my AVD not working?

In case you get an error like "Intel virtualization technology (vt,vt-x) is not enabled". Go to your BIOS settings and enable Hardware Virtualization. Restart Android Studio and then try to start the AVD again.

Why AVD Manager is not working?

SDK Build Tools are not installed If it fails then you may have to install it again. You look at the build tab at the bottom of the screen, it will display the error message and option to install the Build tools. Install it and you should be able to see the AVD Manager. Another way is to go to the SDK Manager.

How do I enable Android emulator in Visual Studio?

Just open up the Visual Studio Emulator for Android entry in your Start Menu, hit play, and the emulator is ready to debug from any IDE. Download the standalone emulator today!


1 Answers

Its because of video drivers not working properly or its not compatible with the emulator screen display resolution.

So just update your windows driver and restart the system, keeping your display or screen at highest resolution, then start your Android Studio and it will work fine. Just Google how to update your video driver or display driver and you can go ahead.

like image 135
suri Avatar answered Oct 10 '22 07:10

suri