Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

老项目里的一个崩溃

$
0
0

@netwalker0000 写道:

cocos2d-2.1rc0-x-2.1.2开发的项目,有几个地方。父节点通过tag获取子节点。bugly显示崩溃了。

00 pc 0067da42 libgame.so count (jni/../../../cocos2dx/cocoa/CCArray.cpp:216) [armeabi-v7a]

01 pc 0067a2db libgame.so getChildByTag (jni/../../../cocos2dx/base_nodes/CCNode.cpp:563) [armeabi-v7a]

213 unsigned int CCArray::count()
214 {
215 return data->num;
216 }

559 CCNode* CCNode::getChildByTag(int aTag)
560 {
561 CCAssert( aTag != kCCNodeTagInvalid, "Invalid tag");
562
563 if(m_pChildren && m_pChildren->count() > 0)
564 {

感觉好奇怪啊好奇怪啊--

帖子: 1

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>