本文将较细致地记录下最近开发课程中的示例游戏-拇指接龙游戏在从WIN32向Android移植过程中遇到的若干问题及相应解决办法。
目前极不完整,待进一步整理。
问题1
连接真机测试运行时,在SplashScreen运行时便出现如下错误提示(log.txt):
09-16 13:28:16.525: I/GLThread(25784): sending render notification tid=10
09-16 13:28:18.530: D/cocos2d-x debug info(25784): cocos2d: removeAction: Target not found
09-16 13:28:18.530: D/cocos2d-x debug info(25784): cocos2d: removeAction: Target not found
09-16 13:28:19.520: D/cocos2d-x debug info(25784): Get data from file(armature/ButterflyArmature_01.ExportJson) failed!
09-16 13:28:19.520: D/cocos2d-x debug info(25784): GetParseError Text only contains white space(s)
09-16 13:28:19.520: D/cocos2d-x debug info(25784): Assert failed: CCAnimationData not exist!
09-16 13:28:19.520: E/cocos2d-x assert(25784): F:/Games2014/ThumbelinaCell/projects/ThumbelinaCell/proj.android/../../../extensions/CocoStudio/Armature/CCArmature.cpp function:init line:151
09-16 13:28:19.520: E/cocos2d-x assert(25784): F:/Games2014/ThumbelinaCell/projects/ThumbelinaCell/proj.android/../../../extensions/CocoStudio/Armature/CCArmature.cpp function:init line:157
......