Game crash with CCAnimation in cocos2d-x 2.0.3

Hi,

I have a game that works in coco2d-x 2.0.1, but when I try to migrate do cocos2d-x 2.0.3 the game crashs(simple close the game and no message is showed) in the following code:

laughAnim = CCAnimation::create(arrayOfSpriteLaugh,0.1);

laughAnim is a ‘CCAnimation’

But in Eclipse there no single error in logcat.

I don’t know how I can correct this, someone can help?

Thanks for the attention.

I discover the problem

I change the following code:

laughAnim = CCAnimation::create(arrayOfSpriteLaugh,0.1);

for

laughAnim = CCAnimation::createWithSpriteFrames(arrayOfSpriteLaugh,0.1);

The strange thing is that eclipse compile the code when I use the first line, it should make a error in compilation time, not in execution time.

But ok, it works now.