Android emulator: could not get wglGetExtensionsStringARB error
Asked Answered
D

7

31

I am getting this error in the android emulator logs since I updated the SDKManager and ADT:

[2012-07-10 15:51:23 - Emulator] could not get wglGetExtensionsStringARB

What does it mean? And is there anything I can do about it?

Dap answered 10/7, 2012 at 6:3 Comment(4)
Also getting this error.Riviera
Please refer to this answerBioscopy
Thankyou. Please add your answer if you would like me to vote for it.Dap
I'm facing same problem, but here i'm using the windroy app,Teece
F
14

I faced the similar problem. In my case I had created the new virtual device and had enabled the snapshot. I just unchecked the checkbox Go to AVD Manager -> Select the device -> click Edit and uncheck the Enabled checkbox. I hope this works.

Friedrick answered 18/8, 2012 at 17:43 Comment(2)
On version R22.0.1 for Windows, I cannot find any checkbox named "Enabled" on the device edit dialog.Mcclendon
I dont have that checkbox is checked. Visual studio works like a charm!Contrabassoon
I
11

When you create the emulator, you need to choose properties CPU/ABI is Intel Atom (installed it in SDK manager )

Iambic answered 23/11, 2012 at 19:31 Comment(0)
F
5

just change your JDK I installed the JDK of SUN not Oracle and it works for me....

Fabrikoid answered 7/1, 2013 at 6:6 Comment(0)
L
5

For me changing the Emulated Performance setting to "Store a snapshot for faster startup" and unchecking "Use Host GPU" fixed the problem.

Leaves answered 26/6, 2015 at 3:11 Comment(0)
L
2

First of all, use INTEL x86... this as CPU/ABI. Secondly, uncheck Snapshot if it is checked. Keep the Target upto Android 4.2.2

Laudian answered 29/7, 2013 at 14:53 Comment(0)
N
2

I ran into this issue running Android Studio 1.4. In the Android Virtual Device (AVD) Manager, I had checked the 'Use Host GPU' box, thinking this would give me some sort of boost in the emulator's speed.
Android Studio will let you choose a device that's configured that way, and it will show you the command it used to start the virtual device: Android Studio 'Run' window output

but for some reason, it doesn't warn you that the program crashed, and it doesn't show you the stderr message that you would see had you run it from the command line yourself: Output as run on the command line

When I ran it from Android Studio, I didn't see the dialog box in the screenshot above, though it shows up just fine when you run the command from the command line, so I just sat there patiently for a few minutes while nothing happened.
As pointed out elsewhere, the drivers needed for the Use Host GPU option are not yet available. Reading through that post, it appears that this setting can be used with some Intel CPUs but not the ARM chip I chose (see CPU/ABI setting below).

My solution was to just uncheck the "Use Host GPU" box which is near the bottom of the window opened through the 'edit' option after choosing the virtual device in the Android Virtual Devices tab in the AVD Manager. You can get to the AVD manager directly in Windows at
%ANDROID_HOME%\AVD Manager.exe
where in my Windows 8 install, %ANDROID_HOME% resolved to
c:\users\myusername\AppData\Local\Android\Sdk

I don't have it running on Linux at the moment, but I'd assume it's in a similar path there, i.e.:
${ANDROID_HOME}/

After unchecking the 'Use Host GPU' box, I opted to check the 'Snapshot' box next to it (as I understand, that stores a copy of the already-built vm so it doesn't need to get rebuilt every time, which should save some startup time for future instances). Here are the full settings I used:
Edit Android Virtual Device (AVD) window screenshot

Neighborhood answered 18/11, 2015 at 17:29 Comment(0)
S
1

i had a same issue because of my Nvidea Graphics card Driver Problem.

If your System has Dedicated Graphics card then Check for the latest Driver and Install it.

Other wise simply Choose Emulated Performance as Software in Emulator Configurations enter image description here

After Updating the driver the issue is resolved :)

Servility answered 14/1, 2018 at 14:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.