cocos2dx3.17.2 用android-28 打包,在x86 模拟器上闪退

V libnb : enter native_bridge2_isSupported /data/app/com.xxxx.xxxx-1/lib/x86/libcocos2dlua.so
D AndroidRuntime: Shutting down VM
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: com.xxxx.xxxx, PID: 1843
E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol “fgets_unlocked” referenced by “/data/app/com.xxxx.xxxx-1/lib/x86/libcocos2dlua.so”…
AndroidRuntime: at java.lang.Runtime.loadLibrary(Runtime.java:373)
E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1076)
E AndroidRuntime: at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:116)
E AndroidRuntime: at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:142)
E AndroidRuntime: at org.cocos2dx.lua.AppActivity.onCreate(AppActivity.java:89)
E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6279)
E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2463)
E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2570)
E AndroidRuntime: at android.app.ActivityThread.-wrap11(ActivityThread.java)
E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1420)
E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5606)
E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745)
E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:635)
W ActivityManager: Force finishing activity com.xxxx.xxxx/org.cocos2dx.lua.AppActivity
D ActivityManager: Nemu don’t show crash dialog of ProcessRecord{32daff3 1843:com.xxxx.xxxx/u0a192}

手机上是正常的。小于android-28打包模拟器是正常的。 ndk各个版本都试过。 有人遇到吗

参考 dlopen failed: cannot locate symbol “fgets_unlocked” referenced by “/data/app/com.zhinenggangqin-zz36yFPbZlpHeu83YEBT1w==/lib/arm/libglib-2.0.so”… · Issue #526 · FluidSynth/fluidsynth · GitHub