title: Android OpenGL demo "No config chosen"
body: <p>I'm having a real problem with the Google's <a href="http://developer.android.com/shareables/training/OpenGLES.zip" rel="nofollow noreferrer">OpenGL demo for Android</a>. I set it up in Eclipse but can't get it to execute. It builds with no problems, but then stops at <code>"java.lang.IllegalArgumentException: No config chosen"</code> right before it opens. I've been up and down Google searches and Stack threads with no solution. </p>
  
  <p>I did find what I thought was a lead here: <a href="https://stackoverflow.com/questions/13717470/opengl-es-2-0-support-for-android">OpenGL ES 2.0 Support for Android?</a></p>
  
  <p>It uses a command <code>gLSurfaceView.setEGLConfigChooser(8 , 8, 8, 8, 16, 0);</code>
  but alas, I'm new to OpenGL on android and don't know where to put it...</p>
  
  <p>Any help would be greatly appreciated. I'm running Eclipse Juno with the latest android sdk. I'm testing this on a 4.2 Jelly Bean emulator with GPU hardware enabled.</p>