android闪退

https://forum.cocos.org/t/topic/134190/4
解决编译问题后, 安卓打开应用闪退
不同手机都闪退
有人能解释为什么嘛

这是输出

04/12 23:02:52: Launching ‘MyFirstGame’ on alps APPLLP3.
App restart successful without requiring a re-install.
$ adb shell am start -n “rope.cpp/org.cocos2dx.cpp.AppActivity” -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
Waiting for application to come online: rope.cpp
Connecting to rope.cpp
Connected to the target VM, address: ‘localhost:51951’, transport: ‘socket’
Capturing and displaying logcat messages from application. This behavior can be disabled in the “Logcat output” section of the “Debugger” settings page.
I/art: Late-enabling -Xcheck:jni
W/ActivityThread: Application rope.cpp is waiting for the debugger on port 8100…
I/System.out: Sending WAIT chunk
I/art: Debugger is active
I/System.out: Debugger has connected
I/System.out: waiting for debugger to settle…
I/System.out: waiting for debugger to settle…
I/System.out: waiting for debugger to settle…
I/System.out: waiting for debugger to settle…
I/System.out: waiting for debugger to settle…
I/System.out: waiting for debugger to settle…
I/System.out: waiting for debugger to settle…
I/System.out: waiting for debugger to settle…
I/System.out: waiting for debugger to settle…
I/System.out: debugger has settled (1400)
I/art: Starting a blocking GC HeapTrim
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
Process: rope.cpp, PID: 768
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/rope.cpp-2/base.apk”],nativeLibraryDirectories=[/data/app/rope.cpp-2/lib/arm, /data/app/rope.cpp-2/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn’t find “libMyFirstGame.so”
at java.lang.Runtime.loadLibrary0(Runtime.java:984)
at java.lang.System.loadLibrary(System.java:1562)
at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:116)
at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:142)
at org.cocos2dx.cpp.AppActivity.onCreate(AppActivity.java:38)
at android.app.Activity.performCreate(Activity.java:6685)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2721)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2833)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1561)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:203)
at android.app.ActivityThread.main(ActivityThread.java:6337)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1084)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:945)
I/Process: Sending signal. PID: 768 SIG: 9
Disconnected from the target VM, address: ‘localhost:51951’, transport: ‘socket’

你的日志里已经有报错信息了.

有解决办法吗

这里自己慢慢查,谁知道你整什么玩意

/data/app/rope.cpp-2/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]] couldn’t find “libMyFirstGame.so”