cocosStudio 中ScrollView应用裁切和CCClippingNode的使用,在一些android/IOS真机上不能正常显示

cocosStudio 中ScrollView应用裁切后,在一些android/IOS真机上不能正常显示(各种问题),并且,一样的问题,在cocos2dx引擎中如果用了CCClippingNode(也就是遮罩的效果),也一样的图片显示不正常,查找了很多东西,发现是cocos2dx中的一个bug。
解决:F:\项目名\proj.android\src\org\cocos2dx\cpp\AppActivity.java

--------for Android:in game activity:

package org.cocos2dx.cpp;
import org.cocos2dx.lib.Cocos2dxActivity;
import org.cocos2dx.lib.Cocos2dxGLSurfaceView;

public class AppActivity extends Cocos2dxActivity {

public Cocos2dxGLSurfaceView onCreateView() { 
    Cocos2dxGLSurfaceView glSurfaceView = new Cocos2dxGLSurfaceView(this); 
    glSurfaceView.setEGLConfigChooser(5, 6, 5, 0, 16, 8); 

    return glSurfaceView; 
} 

}

IOS的不知道在哪里改,还没找到IOS的手机不支持的。
------------------------for iOS:in AppController replace the gl-view creation with:
EAGLView *__glView =
pixelFormat: kEAGLColorFormatRGBA8
depthFormat: GL_DEPTH24_STENCIL8_OES
preserveBackbuffer: NO
sharegroup: nil
multiSampling: NO
numberOfSamples: 0];

hi ,这里有所有的裁剪失败原因哦~
http://www.cocoachina.com/bbs/read.php?tid=195955

真是一个坑,原来是这里问题