cocos 3.1 版本创建的lua项目,android 上打包后闪退 couldn't find "libcocos2dlua.so"

8-03 01:54:34.125 23607-23607/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: org.cocos2dx.NewCocosProject4, PID: 23607
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/org.cocos2dx.NewCocosProject4-2/base.apk”, zip file “/data/app/org.cocos2dx.NewCocosProject4-2/split_lib_dependencies_apk.apk”, zip file “/data/app/org.cocos2dx.NewCocosProject4-2/split_lib_slice_0_apk.apk”, zip file “/data/app/org.cocos2dx.NewCocosProject4-2/split_lib_slice_1_apk.apk”, zip file “/data/app/org.cocos2dx.NewCocosProject4-2/split_lib_slice_2_apk.apk”, zip file “/data/app/org.cocos2dx.NewCocosProject4-2/split_lib_slice_3_apk.apk”, zip file “/data/app/org.cocos2dx.NewCocosProject4-2/split_lib_slice_4_apk.apk”, zip file “/data/app/org.cocos2dx.NewCocosProject4-2/split_lib_slice_5_apk.apk”, zip file “/data/app/org.cocos2dx.NewCocosProject4-2/split_lib_slice_6_apk.apk”, zip file “/data/app/org.cocos2dx.NewCocosProject4-2/split_lib_slice_7_apk.apk”, zip file “/data/app/org.cocos2dx.NewCocosProject4-2/split_lib_slice_8_apk.apk”, zip file “/data/app/org.cocos2dx.NewCocosProject4-2/split_lib_slice_9_apk.apk”],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]] couldn’t find “libcocos2dlua.so”
at java.lang.Runtime.loadLibrary(Runtime.java:378)
at java.lang.System.loadLibrary(System.java:998)
at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:248)
at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:263)
at org.cocos2dx.lua.AppActivity.onCreate(AppActivity.java:57)
at android.app.Activity.performCreate(Activity.java:6013)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2385)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2492)
at android.app.ActivityThread.access$1200(ActivityThread.java:158)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1349)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5564)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
08-03 01:54:34.145 4023-4649/? E/SubmitMessage: Submit string: submit:trigger=0,bugtype=2,modulename=org.cocos2dx.NewCocosProject4,level=1,testtype=NORMAL,path=/data/log/unzip/CHE-TL00H_CHE-TL00HC00B266_0000000000_20190803015434_crash,mode=1

同问,请问解决了吗

直接安装包解压看有没有,如果没有就去编译工具本地看看为啥没有

看看是不是svn上传的时候忽略了libcocos2dlua.so文件

这得怎么解决,我也碰到这个问题

请问下你是怎么解决这个问题的

天啊。。。。。