Android Fatal Signal 11

前端 未结 10 1235
小鲜肉
小鲜肉 2020-12-14 05:25

In the app I\'m developing on Android, I keep getting a Fatal Signal 11 error.

I think it\'s something to do with the way that I\'m accessing the memory but I can\'t

10条回答
  •  离开以前
    2020-12-14 06:12

    i had this problem when i was making a cocos2d-x app on android. the problem was that my layer was a CCLayer:

     CCLayer::init()
    

    but in the header file i had:

     class HelloWorld : public cocos2d::CCLayerColor
    

    i changed CCLayerColor to CCLayer and my app worked

提交回复
热议问题