-
Cocos2d-x版本是cocos2d-2.1rc0-x-2.1.3,调试手机设备Android2.3,当出现多次删除CCSpriteBatchNode上的节点时,会导致游戏过程突然暂停相应,画面定格,但是声音能够继续播放。同样的问题如果在android4.2设备上进行调试,则会异常退出,有Logcat日志出现,原因是在CCSpriteBatchNode的一个子节点非空的断言处失败了。
-
如何查看本地代码错误堆栈(在Logcat中是无法看到的):
Shell Code:
1 | adb logcat | ndk-stack -sym /path/to/project/folder/proj.android/obj/local/armeabi |
FEATURED TAGS
Django
Python
Java
Design
Android
Linux
scriptogr.am
Mac
OS X
Apache
SSL
HTTPS
Camera
iOS
Git
Svn
Github
C++
Cocos2d-x
Cocos2d
Games
CocosBuilder
Ubuntu
Remote Desktop
Eclipse
adb
Glyph Designer
Font
Huawei
Windows Phone
Windows RT
WinRT
Visual Studio
Windows
IAP
In-app products
Ant
OpenWrt
Router
PandoraBox
Spring Boot
MySQL
Golang