安装sdkbox并导入chartboost插件后,应用程序在启动时崩溃 正好在加载libcocos2dcpp.so
我收到致命信号4 SIGILL错误
ndk-stack显示以下内容
adb logcat | ndk-stack -sym /home/elmagnifico/Desktop/cocos2d-x-3.9/test2/proj.android/obj/local/armeabi
********** Crash dump: **********
Build fingerprint: 'samsung/GT-S5830i/GT-S5830i:2.3.6/GINGERBREAD/JPLK1:user/release-keys'
pid: 15452, tid: 15452 >>> org.cocos2dx.test2 <<<
signal 4 (SIGILL), code 1 (ILL_ILLOPC), fault addr 8111a97c
Stack frame #00 pc 0011a97c /mnt/asec/org.cocos2dx.test2-2/lib/libcocos2dcpp.so: Routine GLOBAL__subI_CCData.cpp at /private/var/jenkins/.jenkins/jobs/_release_1.5.2/workspace/csc/protocols/proj.android/jni/../../share/CCData.cpp:92
Crash dump is completed
我尝试了另一个Android版本4.4 ...它工作正常
我使用的是v0.5.8.12和cocos2dx v3.9
这里是Application.mk
APP_STL := gnustl_static
APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char
APP_LDFLAGS := -latomic
ifeq ($(NDK_DEBUG),1)
APP_CPPFLAGS += -DCOCOS2D_DEBUG=1
APP_OPTIM := debug
else
APP_CPPFLAGS += -DNDEBUG
APP_OPTIM := release
endif
APP_PLATFORM := android-9