我在程序中引入了ListView UI控件准备做排行榜用,结果在window,mac ,ios上都能正常显示,就是在Android上出现了绿底白屏问题,如下
结果在csdn上找到了答案,博客地址
http://blog.csdn.net/dgmyfz_csdn001/article/details/24653067?reload
在android工程中加入
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;
}
}
搞定!

lllllllllllllllll