Reputation: 13546
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:
Manifest file have:
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />
<uses-feature android:glEsVersion="0x00020000"
android:required="true"/>
Log-Cat
I don't know what else to provide here. If you need any further details, just ask me. Thanks.
Upvotes: 1
Views: 711
Reputation: 13546
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:
Hope it will help others. Thanks to @iDev and @ph0b for helping me.
Upvotes: 1
Reputation: 14463
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.
Upvotes: 2
Reputation: 23271
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).
Upvotes: 1