When I add the following line to my GLSurfaceView class I get an IllegalArgumentException from some random place. I don't know where the problem is because it doesn't give a stack trace.
setEGLContextClientVersion(2);
What else do I need to do to get an OpenGL ES 2.0 application to work?
NB: I'm trying to run the application on the emulator.