Hi All,
I have a game launched on google play, but I received bug reports from difference players, I noticed that all devices having problem are in the resolution of 320*240. Is there any limitation of cocos2d-x in xsmall? Does anyone know if there is a way to work around?
so, here is what I got:
java.lang.IllegalArgumentException: No configs match configSpec
at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:760)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:916)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1246)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
and my start up code here:
@
CCDirector pDirector = CCDirector::sharedDirector;
CCEGLViewpView = CCEGLView::sharedOpenGLView();
pDirector~~>setOpenGLView;
// turn off display FPS
pDirector~~>setDisplayStats(false);
CCFileUtils::sharedFileUtils()>setResourceDirectory;>setContentScaleFactor(2.0f);
pDirector
// set FPS. the default value is 1.0/60 if you don’t call this
pDirector~~>setAnimationInterval;
pView~~>setDesignResolutionSize(480, 320, kResolutionShowAll);
@
Thanks for your help.