2
1
I have successfully installed Android x86 4.0 on VirtualBox, and I am trying to get an OpenGL app to work. I have enabled "3D Acceleration" in VirtualBox settings, but when I open the app it instantly crashes and logs
java.lang.IllegalArgumentException: No configs match configSpec
I tried the 0xbenchmark 3D test (0xbenchmark is a test app that comes with Android-x86). It worked perfectly. EDIT: I'm not sure why it does, because no other OpenGL apps seem to work. Perhaps Android-x86 does not actually support GLES 2.0
What can I do to make all OpenGL apps work on VirtualBox?
EDIT: I neglected to include stack trace before, so here it is (from logcat):
E/AndroidRuntime( 1681): FATAL EXCEPTION: GLThread 146
E/AndroidRuntime( 1681): java.lang.IllegalArgumentException: No configs match configSpec
E/AndroidRuntime( 1681): at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:863)
E/AndroidRuntime( 1681): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1024)
E/AndroidRuntime( 1681): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1401)
E/AndroidRuntime( 1681): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
What version of OpenGL was the application written in? – Ramhound – 2014-03-06T21:20:03.343
It's in GLES 2.0. http://developer.android.com/guide/topics/graphics/opengl.html says that GLES 2.0 is supported from Android 2.2. My Android-x86 is Ice Cream Sandwich 4.0.
– DankMemes – 2014-03-06T21:22:18.257