Cannot run Helloworld in cocos2d-x 3.11: Fatal Signal 11

-1

I'm new to cocos2d-x, I followed this tutorial

It's working well on the iOS platform, but not on Android.

I tried to setup cocos2d-x again and again, both cocos2d-x 3.11, 3.8, 3.6; tried with Android NDK r11c, r10e, r9d; tried to run in terminal and Eclipse, but the program cannot run and gives an error Fatal Signal 11.

It's work well with cocos2d-x 2.2.6, but I don't want to use it.
I'm using Genymotion.

Can anyone show me where my error lies?

This is my logcat:

05-16 22:02:43.979: D/dalvikvm(2395): Trying to load lib /data/app-lib/com.sangle.mygametest11-2/libMyGame.so 0xa4f9ab10
05-16 22:02:44.339: A/libc(2395): Fatal signal 11 (SIGSEGV) at 0x000000b4 (code=1), thread 2395 (le.mygametest11)
android
cocos2d-x
fatal-error
asked on Stack Overflow May 16, 2016 by De Papier • edited May 17, 2016 by De Papier

1 Answer

1

Compile it through the console and if error occurs post it here.

Go to android folder inside your project through cmd run "build_setup.py".

answered on Stack Overflow May 26, 2016 by Steve

User contributions licensed under CC BY-SA 3.0