Cocos2d-x 3.12 安卓包闪退

创建新的lua工程, cocos compile -p android --android-studio 编译出安卓包,运行闪退

07-16 00:26:17.400 1572-1572/org.cocos2dx.MyLuaGame D/dalvikvm: Trying to load lib /data/app-lib/org.cocos2dx.MyLuaGame-1/libcocos2dlua.so 0xa69d0828
07-16 00:26:18.364 411-726/system_process W/ResourceType: No package identifier when getting name for resource number 0x00000000
07-16 00:26:18.672 1572-1572/org.cocos2dx.MyLuaGame E/dalvikvm: dlopen("/data/app-lib/org.cocos2dx.MyLuaGame-1/libcocos2dlua.so") failed: Cannot load library: load_library(linker.cpp:761): not a valid ELF executable: /data/app-lib/org.cocos2dx.MyLuaGame-1/libcocos2dlua.so
07-16 00:26:18.684 1572-1572/org.cocos2dx.MyLuaGame D/AndroidRuntime: Shutting down VM
07-16 00:26:18.684 1572-1572/org.cocos2dx.MyLuaGame W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0xa613c908)
07-16 00:26:18.704 1572-1572/org.cocos2dx.MyLuaGame E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.UnsatisfiedLinkError: Cannot load library: load_library(linker.cpp:761): not a valid ELF executable: /data/app-lib/org.cocos2dx.MyLuaGame-1/libcocos2dlua.so
at java.lang.Runtime.loadLibrary(Runtime.java:371)
at java.lang.System.loadLibrary(System.java:535)
at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:248)
at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:264)
at org.cocos2dx.lua.AppActivity.onCreate(AppActivity.java:57)
at android.app.Activity.performCreate(Activity.java:5104)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1092)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2254)
at android.app.ActivityThread.access$600(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5069)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
at dalvik.system.NativeStart.main(Native Method)
07-16 00:26:18.712 411-423/system_process W/ActivityManager: Force finishing activity org.cocos2dx.MyLuaGame/org.cocos2dx.lua.AppActivity

So文件没有生成成功吧

生成成功了 编译安卓包没报错 成功生成apk 但是运行闪退

官方没人解答一下吗

修复了,改为android-19,编译时,会有一些android-21报错(一般都是res里的安卓的ui),一个一个删除就可以了,最终支持android-19就行了

为什么官网没人解释

怎么哪都有你,你遇到了再说,没遇到在这发什么贴

求解决方案呀~