signal" referenced by "libcocos2dlua.so"...在部分android机型上会点开游戏直接闪退问题"

04-07 14:24:41.114 4844-4844/? E/dalvikvm﹕ dlopen("/data/app-lib/libcocos2dlua.so") failed: dlopen failed: cannot locate symbol “signal” referenced by “libcocos2dlua.so”…
04-07 14:24:41.119 4844-4844/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.dd.mj, PID: 4844
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol “signal” referenced by “libcocos2dlua.so”…
at java.lang.Runtime.loadLibrary(Runtime.java:371)
at java.lang.System.loadLibrary(System.java:531)
at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:248)
at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:264)
at com.dd.mj.AppActivity.onCreate(AppActivity.java:78)
at android.app.Activity.performCreate(Activity.java:5351)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
at com.lbe.security.service.core.client.b.x.callActivityOnCreate(Unknown Source)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2323)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2411)
at android.app.ActivityThread.access$800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1342)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5315)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:844)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:660)
at dalvik.system.NativeStart.main(Native Method)

编译多个armv7 试试

这个问题有点像,NDK不兼容导致的。

感谢…

然而现在还没解决问题 用了ndkr13的话 会报我一个接入的语音sdk的错
process_begin: CreateProcess(NULL, F:/workplace/android-ndk-r13b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/arm-linux-androideabi-strip --strip-unneeded F:/workplace/chifeng/klmj/frameworks/runtime-src/proj.android-studio/app/libs/armeabi/libGCloudVoice.so, …) failed.

有详细的错误信息吗?使用什么命令编译的?

这个是另外一个问题了 是ndk32位的问题,换64位搞定了