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

https://www.reddit.com/r/androiddev/comments/3hbd00/visual_studio_emulator_for_android_not_running/cu76v4o


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -