android4.0版本运行不起来,请求大神帮助

配置
cocos:cocos2d-x-3.2
SDK:android-23
NDK: r10e
系统:Mac
问题描述:
项目为lua+c++.使用cocos compile生成debug-apk包。在android5.0版本手机上运行没有问题,但在android4.0版本上运行直接停止运行。报错:
FATAL EXCEPTION: main
Process: com.tiantiandou.xxl.original, PID: 6163
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol “__ctype_get_mb_cur_max” referenced by “libc++_shared.so”…
at java.lang.Runtime.loadLibrary(Runtime.java:364)
at java.lang.System.loadLibrary(System.java:555)
at org.cocos2dx.lua.AppActivity.onCreate(AppActivity.java:81)
at android.app.Activity.performCreate(Activity.java:5342)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1090)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2228)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2313)
at android.app.ActivityThread.access$1100(ActivityThread.java:141)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1238)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5336)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:871)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:687)
at dalvik.system.NativeStart.main(Native Method)

请求各位大神帮忙。。

你找找这个so 包 ,libc++_shared.so

看有没有啊

有的。

http://blog.csdn.net/fuzhongbin/article/details/78675987

1赞