qq_26470013
skyblue_2012
采纳率15.4%
2015-11-30 04:54

cocos2d项目用emplise生成了apk,但在安卓手机上点击运行提示项目已停止

已采纳

emplise报错:
11-30 12:50:54.659: D/AndroidRuntime(30731): Shutting down VM
11-30 12:50:54.659: W/dalvikvm(30731): threadid=1: thread exiting with uncaught exception (group=0x4102aac8)
11-30 12:50:54.669: E/AndroidRuntime(30731): FATAL EXCEPTION: main
11-30 12:50:54.669: E/AndroidRuntime(30731): java.lang.UnsatisfiedLinkError: Couldn't load cocos2dcpp from loader dalvik.system.PathClassLoader[dexPath=/data/app/org.cocos.CocosProject2-1.apk,libraryPath=/data/app-lib/org.cocos.CocosProject2-1]: findLibrary returned null
11-30 12:50:54.669: E/AndroidRuntime(30731): at java.lang.Runtime.loadLibrary(Runtime.java:365)
11-30 12:50:54.669: E/AndroidRuntime(30731): at java.lang.System.loadLibrary(System.java:535)
11-30 12:50:54.669: E/AndroidRuntime(30731): at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:207)
11-30 12:50:54.669: E/AndroidRuntime(30731): at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:222)
11-30 12:50:54.669: E/AndroidRuntime(30731): at android.app.Activity.performCreate(Activity.java:5104)
11-30 12:50:54.669: E/AndroidRuntime(30731): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
11-30 12:50:54.669: E/AndroidRuntime(30731): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2169)
11-30 12:50:54.669: E/AndroidRuntime(30731): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2255)
11-30 12:50:54.669: E/AndroidRuntime(30731): at android.app.ActivityThread.access$600(ActivityThread.java:148)
11-30 12:50:54.669: E/AndroidRuntime(30731): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1241)
11-30 12:50:54.669: E/AndroidRuntime(30731): at android.os.Handler.dispatchMessage(Handler.java:99)
11-30 12:50:54.669: E/AndroidRuntime(30731): at android.os.Looper.loop(Looper.java:137)
11-30 12:50:54.669: E/AndroidRuntime(30731): at android.app.ActivityThread.main(ActivityThread.java:5102)
11-30 12:50:54.669: E/AndroidRuntime(30731): at java.lang.reflect.Method.invokeNative(Native Method)
11-30 12:50:54.669: E/AndroidRuntime(30731): at java.lang.reflect.Method.invoke(Method.java:511)
11-30 12:50:54.669: E/AndroidRuntime(30731): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
11-30 12:50:54.669: E/AndroidRuntime(30731): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
11-30 12:50:54.669: E/AndroidRuntime(30731): at dalvik.system.NativeStart.main(Native Method)
求大神指点啊

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

  • a87b01c14 sanxiaochengyu 6年前

    没有找到so库,模拟器能运行?你看看是不是没有编译生成对应平台的APK
    APP_ABI := armeabi armeabi-v7a x86

    点赞 评论 复制链接分享

相关推荐