问题描述
- 求Android大神帮我这个菜鸟 谢谢
-
E/AndroidRuntime(832): FATAL EXCEPTION: main
E/AndroidRuntime(832): Process: com.wrss.helloWorld, PID: 832
E/AndroidRuntime(832): java.lang.UnsatisfiedLinkError: Couldn't load cocos2dcpp from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.wrss.helloWorld-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.wrss.helloWorld-2, /system/lib]]]: findLibrary returned null
E/AndroidRuntime(832): at java.lang.Runtime.loadLibrary(Runtime.java:358)
E/AndroidRuntime(832): at java.lang.System.loadLibrary(System.java:526)
E/AndroidRuntime(832): at org.cocos2dx.lib.Cocos2dxHelper.init(Cocos2dxHelper.java:94)
E/AndroidRuntime(832): at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:84)
E/AndroidRuntime(832): at android.app.Activity.performCreate(Activity.java:5231)
E/AndroidRuntime(832): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
E/AndroidRuntime(832): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
E/AndroidRuntime(832): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
E/AndroidRuntime(832): at android.app.ActivityThread.access$800(ActivityThread.java:135)
handleMessage(ActivityThread.java:1196)
E/AndroidRuntime(832): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(832): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(832): at android.app.ActivityThread.main(ActivityThread.java:5017)
E/AndroidRuntime(832): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(832): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(832): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
E/AndroidRuntime(832): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
E/AndroidRuntime(832): at dalvik.system.NativeStart.main(Native Method)
解决方案
解决方案二:
http://stackoverflow.com/questions/22629086/couldnt-load-cocos2dcpp
时间: 2024-10-26 12:44:22