可以在论坛看到, 修改一处即可.
文件位置在: frameworkscocos2d-xcocosplatformandroidjavasrcorgcocos2dxlibCocos2dxActivity.java
然后找到 public Cocos2dxGLSurfaceView onCreateView() 函数.
修改如下:
1 public Cocos2dxGLSurfaceView onCreateView() {
2
3 Cocos2dxGLSurfaceView glSurfaceView = new Cocos2dxGLSurfaceView(this);
4
5 glSurfaceView.setEGLConfigChooser(5, 6, 5, 0, 16, 8);
6
7 return glSurfaceView;
8
9 }