我创建了一个cocos2dx-3.4的android项目,但是停止运行0
01-20 10:05:39.264: D/dalvikvm(14924): wrong object type: Lcom/lbe/security/utility/d; Landroid/util/ArrayMap; 01-20 10:05:39.409: D/dalvikvm(14924): GC_FOR_ALLOC freed 409K, 13% free 3312K/3804K, paused 13ms, total 13ms 01-20 10:05:39.43... 01-20 10:05:39.264: D/dalvikvm(14924): wrong object type: Lcom/lbe/security/utility/d; Landroid/util/ArrayMap;
01-20 10:05:39.409: D/dalvikvm(14924): GC_FOR_ALLOC freed 409K, 13% free 3312K/3804K, paused 13ms, total 13ms
01-20 10:05:39.434: D/dalvikvm(14924): Trying to load lib /data/app-lib/org.cocos.SoulShot-1/libcocos2dcpp.so 0x41977f10
01-20 10:05:39.439: E/dalvikvm(14924): dlopen("/data/app-lib/org.cocos.SoulShot-1/libcocos2dcpp.so") failed: dlopen failed: cannot locate symbol "srand" referenced by "libcocos2dcpp.so"...
01-20 10:05:39.439: D/AndroidRuntime(14924): Shutting down VM
01-20 10:05:39.439: W/dalvikvm(14924): threadid=1: thread exiting with uncaught exception (group=0x4161aba8)
01-20 10:05:39.439: E/AndroidRuntime(14924): FATAL EXCEPTION: main
01-20 10:05:39.439: E/AndroidRuntime(14924): Process: org.cocos.SoulShot, PID: 14924
01-20 10:05:39.439: E/AndroidRuntime(14924): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "srand" referenced by "libcocos2dcpp.so"...
01-20 10:05:39.439: E/AndroidRuntime(14924): at java.lang.Runtime.loadLibrary(Runtime.java:364)
01-20 10:05:39.439: E/AndroidRuntime(14924): at java.lang.System.loadLibrary(System.java:538)
01-20 10:05:39.439: E/AndroidRuntime(14924): at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:85)
01-20 10:05:39.439: E/AndroidRuntime(14924): at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:99)
01-20 10:05:39.439: E/AndroidRuntime(14924): at android.app.Activity.performCreate(Activity.java:5337)
01-20 10:05:39.439: E/AndroidRuntime(14924): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1099)
01-20 10:05:39.439: E/AndroidRuntime(14924): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2201)
01-20 10:05:39.439: E/AndroidRuntime(14924): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2286)
01-20 10:05:39.439: E/AndroidRuntime(14924): at android.app.ActivityThread.access$800(ActivityThread.java:138)
01-20 10:05:39.439: E/AndroidRuntime(14924): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1235)
01-20 10:05:39.439: E/AndroidRuntime(14924): at android.os.Handler.dispatchMessage(Handler.java:102)
01-20 10:05:39.439: E/AndroidRuntime(14924): at android.os.Looper.loop(Looper.java:136)
01-20 10:05:39.439: E/AndroidRuntime(14924): at android.app.ActivityThread.main(ActivityThread.java:5054)
01-20 10:05:39.439: E/AndroidRuntime(14924): at java.lang.reflect.Method.invokeNative(Native Method) 展开 01-20 10:05:39.439: E/AndroidRuntime(14924): at java.lang.reflect.Method.invoke(Method.java:515)
01-20 10:05:39.439: E/AndroidRuntime(14924): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
01-20 10:05:39.439: E/AndroidRuntime(14924): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
01-20 10:05:39.439: E/AndroidRuntime(14924): at dalvik.system.NativeStart.main(Native Method)