Question

I am trying to get this error off for hours. I am using AndEngine for game development. I do have enabled Host GPU, restarted eclipse as well as AVD many times, but this exception still pops up. I have tried changing emulator's CPU to both ARM and Intel Atom (x86), but couldn't resolve this issue. My AVD specifications are as follows:

enter image description here

Manifest file have:

<uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="18" />
<uses-feature android:glEsVersion="0x00020000"
    android:required="true"/>

Log-Cat

enter image description here

I don't know what else to provide here. If you need any further details, just ask me. Thanks.

Was it helpful?

Solution

The AVD you configured looks perfectly fine.

As iDev suggested, using the latest SDK Tools and targeting an higher API level may help.

Your logcat shows that EGL thinks that the Emulator itself lacks GPU support so I suspect your troubles come either from your graphic card drivers or from too old Android SDK tools.

What's your gpu ? You should try upgrading its driver to their latest version.

OTHER TIPS

I'm not sure if these make a difference, but are you using "Android SDK Tools - Rev 19", and SDK platform 15.

And while it's probably not related to your problem, I'd also suggest using the Intel Atom x86 system image - it give great performance increase.

Also try changing your API level in the AVD to 16 or 17 - just to help isolate the issue.

or

this was a problem with my graphics card setup

or

qemu? Sounds like your using Linux, let me guess.. Ummmm, 64bit? You'll need to install both qemu and the 32bit OpenGL drivers (not installed by default).

After getting so much trouble with simple AndEngine application, I tried simple project with Libgdx. I got an exception saying:

OpenGL is not supported by the video driver.

So finally and actually that means my video graphic card does not support OpenGL!

If you want to know OpenGL support by your Graphics Card, do either of the following:

  1. Follow this link or
  2. Run dxdiag from windows start menu, go to display tab, see your graphic card name and google its specifications. Search for openGL word there in webpage. You will most probably find supported OpenGL version by you Graphic Card.

Hope it will help others. Thanks to @iDev and @ph0b for helping me.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top