Cocos2d-x

@$ vim $COCOS2DX_ROOT/cocos2dx/platform/android/java/src/org/cocos2dx/lib/Cocos2dxGLSurfaceView.java@

public Cocos2dxGLSurfaceView(final Context context) {
    super(context);

+   this.setEGLConfigChooser(8, 8, 8, 8, 16, 0);
    this.setEGLContextClientVersion(2);

    this.initView();
}

public Cocos2dxGLSurfaceView(final Context context, final AttributeSet attrs) {
    super(context, attrs);

+   this.setEGLConfigChooser(8, 8, 8, 8, 16, 0);
    this.setEGLContextClientVersion(2);

    this.initView();
}

@$ vim jni/Application.mk@

APP_ABI := armeabi armeabi-v7a
APP_PLATFORM := android-8