Open wduminy opened 8 years ago
Try to compile with NDK r10c, recently also encountered similar crashes with ndk r10e after updating cocos2d-x.
@codespear , I tested it with cocos2d-x 3.13 & ndk-10e & x86 simulator, and I didn't find the crash you said.
BTW, the screenSize
section in AndroidManifest.xml
should be deleted since we reverted to use API 10 in v3.13.
Could you check that which API version you're using? And could you provide the logcat output?
@dabingnn , I am using platform 4.4.2 (API 19).
Get the logcat output from dropbox.
@codespear, it's probably a bug of our x86 optimized code.
You could try to disable __SSE__
optimization in Application.mk by adding
APP_CPPFLAGS += -U__SSE__
Let me know whether this workaround works for you.
@dumganhar I tried it and it still crashed. When I get a bit of time I will try other variations of the SDK and NDK.
I reproduced crash with NDK 10c, sticking to API 19. Not sure how important this is but I am also using an Atom x86 emulator.
Good news is that there is no crash with NDK 10c and API level 22.
Steps to Reproduce: