Android mGLView.setEGLContextClientVersion error

I’m creating my code using the ./create-android-project.sh script, but when I import the codebase into Eclipse it’s giving me an error on the line

mGLView.setEGLContextClientVersion(2);

in the onCreate method. It says “setEGLContextClientVersion is undefined”. Have I missed something?

I’ve fixed it by changing the SDK platform to 8. I guess 7 isn’t supported?

Yeap, Android supports OpenGL ES2.0 since 2.2.