On Cocos2d-x v3.6 this code:
string _nameImgBase="pedina";
string nameImg=_nameImgBase+"B.png";
auto img=Sprite::createWithSpriteFrameName(nameImg);
compiles without errors, but on Android crash the application. The strange thing is that if I compile the same code on XCode for iPhone … then there are no problems, everything is working. Why? thanks!