All OpenGL ES 2 apps crash in Visual Studio Emulator for Android -
the hyper-v based emulator runs else fine, when run opengl es 2.0 based apps (which run fine on samsung galaxy s3 device) see 'unfortunately, appname has stopped'
i see following debug output in android studio
08-17 04:03:04.038 1024-1037/? e/androidruntime﹕ fatal exception: glthread 75 process: mrmagoo.com.openglestest, pid: 1024 java.lang.illegalargumentexception: no config chosen @ android.opengl.glsurfaceview$baseconfigchooser.chooseconfig(glsurfaceview.java:874) @ android.opengl.glsurfaceview$eglhelper.start(glsurfaceview.java:1024) @ android.opengl.glsurfaceview$glthread.guardedrun(glsurfaceview.java:1401) @ android.opengl.glsurfaceview$glthread.run(glsurfaceview.java:1240)
the emulator supposed support opengl es 2.0 http://blogs.msdn.com/b/visualstudioalm/archive/2015/02/23/the-visual-studio-emulator-for-android-in-vs2015-ctp6.aspx
any ideas?
use
seteglconfigchooser(8, 8, 8, 8, 16, 0);
before calling
setrenderer(renderer);
a dev microsoft answered me on reddit
Comments
Post a Comment