我现在在cocos2d-js下开发一款游戏已经有一段时间了。我能够在android build中添加plugin-x和facebook集成。几天前我试图添加admob作为另一个插件,但我遇到了困难。我尝试过,有史以来第一次将项目添加到eclipse并尝试在那里处理它,但是我搞砸了整个构建。我试图删除所有添加(admob,facebook,pluginx)并重新开始,但我在编译后继续收到此消息&在设备安装完成:
D/AndroidRuntime( 7513): Shutting down VM
W/dalvikvm( 7513): threadid=1: thread exiting with uncaught exception (group=0x41929ba8)
E/AndroidRuntime( 7513): FATAL EXCEPTION: main
E/AndroidRuntime( 7513): Process: com.shirkan.PiuPiu, PID: 7513
E/AndroidRuntime( 7513): java.lang.UnsatisfiedLinkError: Couldn't load cocos2djs from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.shirkan.PiuPiu-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.shirkan.PiuPiu-1, /vendor/lib, /system/lib]]]: findLibrary returned null
E/AndroidRuntime( 7513): at java.lang.Runtime.loadLibrary(Runtime.java:358)
E/AndroidRuntime( 7513): at java.lang.System.loadLibrary(System.java:526)
E/AndroidRuntime( 7513): at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:85)
E/AndroidRuntime( 7513): at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:99)
E/AndroidRuntime( 7513): at android.app.Activity.performCreate(Activity.java:5231)
E/AndroidRuntime( 7513): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
E/AndroidRuntime( 7513): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
E/AndroidRuntime( 7513): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
E/AndroidRuntime( 7513): at android.app.ActivityThread.access$800(ActivityThread.java:135)
E/AndroidRuntime( 7513): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
E/AndroidRuntime( 7513): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 7513): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 7513): at android.app.ActivityThread.main(ActivityThread.java:5001)
E/AndroidRuntime( 7513): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 7513): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 7513): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
E/AndroidRuntime( 7513): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
E/AndroidRuntime( 7513): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 490): Force finishing activity com.shirkan.PiuPiu/org.cocos2dx.javascript.AppActivity
任何人都可以提出可能导致此类错误的原因吗? 感谢。