skyblue_2012 2015-11-30 04:54 采纳率: 50%
浏览 2591
已采纳

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条回答 默认 最新

  • sanxiaochengyu 2015-11-30 07:58
    关注

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 请问有用MZmine处理 “Waters SYNAPT G2-Si QTOF质谱仪在MSE模式下采集的非靶向数据” 的分析教程吗
  • ¥50 opencv4nodejs 如何安装
  • ¥15 adb push异常 adb: error: 1409-byte write failed: Invalid argument
  • ¥15 nginx反向代理获取ip,java获取真实ip
  • ¥15 eda:门禁系统设计
  • ¥50 如何使用js去调用vscode-js-debugger的方法去调试网页
  • ¥15 376.1电表主站通信协议下发指令全被否认问题
  • ¥15 物体双站RCS和其组成阵列后的双站RCS关系验证
  • ¥15 复杂网络,变滞后传递熵,FDA
  • ¥20 csv格式数据集预处理及模型选择