Answered
0
0

when i load fmod in my cocos2dx application,it will happen a question that

W/audio_hw_primary( 141): out_write() limiting sleep time 31178 to 23219
D/dalvikvm(31459): Trying to load lib /data/app-lib/com.game58867.zhajinhua-1/libcocos2dcpp.so 0xa4ff52b8
D/houdini (31459): [31459] Loading library(version: 4.0.8.45720 RELEASE)… successfully.
D/houdini (31459): [31459] Unsupported feature (ID:0x10600cae).
D/houdini (31459): [31459] Open Native Library /data/app-lib/com.game58867.zhajinhua-1/libcocos2dcpp.so failed.
E/dalvikvm(31459): dlopen(“/data/app-lib/com.game58867.zhajinhua-1/libcocos2dcpp.so”) failed: dlopen failed: “/data/app-lib/com.game58867.zhajinhua-1/libcocos2dcpp.so” has unexpected e_machine: 40
D/AndroidRuntime(31459): Shutting down VM
W/dalvikvm(31459): threadid=1: thread exiting with uncaught exception (group=0xa4d18b20)
E/AndroidRuntime(31459): FATAL EXCEPTION: main
E/AndroidRuntime(31459): Process: com.game58867.zhajinhua, PID: 31459
E/AndroidRuntime(31459): java.lang.UnsatisfiedLinkError: dlopen failed: “/data/app-lib/com.game58867.zhajinhua-1/libcocos2dcpp.so” has unexpected e_machine: 40
E/AndroidRuntime(31459): at java.lang.Runtime.loadLibrary(Runtime.java:364)
E/AndroidRuntime(31459): at java.lang.System.loadLibrary(System.java:526)
E/AndroidRuntime(31459): at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:248)
E/AndroidRuntime(31459): at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:263)
E/AndroidRuntime(31459): at org.cocos2dx.cpp.AppActivity.onCreate(AppActivity.java:221)
E/AndroidRuntime(31459): at android.app.Activity.performCreate(Activity.java:5247)
E/AndroidRuntime(31459): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
E/AndroidRuntime(31459): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2154)
E/AndroidRuntime(31459): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2335)
E/AndroidRuntime(31459): at android.app.ActivityThread.access$800(ActivityThread.java:141)
E/AndroidRuntime(31459): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1202)
E/AndroidRuntime(31459): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(31459): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(31459): at android.app.ActivityThread.main(ActivityThread.java:5103)
E/AndroidRuntime(31459): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(31459): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(31459): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
E/AndroidRuntime(31459): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
E/AndroidRuntime(31459): at dalvik.system.NativeStart.main(Native Method)
E/ZKOPCountUtil( 799): DO FUN_ID:34
W/ActivityManager( 604): Force finishing activity com.game58867.zhajinhua/org.cocos2dx.cpp.AppActivity
E/ZKOPCountUtil( 799): find Name = 鍦熻豹鐢电帺鍩?

  • You must to post comments
Best Answer
0
0

It looks like you may be missing a dependency, fmod.jar. I would recommend consulting the Cocos documentation on how to add Java dependencies to the project.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.