setDesignResolutionSize crashes on Android!

In IOS I use setContentScaleFactor and everithing works fine. In Android, in the main.cpp I use the function setDesignResolutionSize, as recomended in the docs, but my app always crashes.

If I remove the line:
view->setDesignResolutionSize(960, 480, kResolutionShowAll);
the app works perfectly in Android devices but it does not scale.
If I add it, the app crashes with this stack trace:

10-10 12:35:23.239: D/cocos2d-x debug info(27048): cocos2d: WARNING: Image (256 x 32) is bigger than the supported 0 x 0
10-10 12:35:23.279: A/libc(27048): Fatal signal 8 (SIGFPE) at 0x000069a8 (code=0), thread 27130 (Thread-6749)

I’ve tryed with Cocos2dx 2.1.4 and 2.2.0, and crashes in both versions.
any help please?

Hey,had you solved the problem?
Now i have the same problem :
WARNING: Image (1024 x 512) is bigger than the supported 0 x 0

My app didn’t crash,but the texture in the sprites are all black.

I find the problem when i upgrade my cocos2dx from 2.1.3 to 2.2

I tryed ./build_native clean but it did not work.

add “view~~>setDesignResolutionSize;" behind "pDirector~~>setOpenGLView(pEGLView);” , and try again.