在安卓4.x系统下部分机型崩溃,大家讨论



  • 机型:酷派 8729

    系统:android 4.3 (SDK 版本:18)

    react-native:0.41

    log:

    #812 05-11 14:26:39.397 25500 E AndroidRuntime FATAL EXCEPTION: main
    #813 05-11 14:26:39.397 25500 E AndroidRuntime java.lang.VerifyError: com/facebook/soloader/SoLoader
    #814 05-11 14:26:39.397 25500 E AndroidRuntime at com.marriageandroid.CommonApplication.onCreate(CommonApplication.java:227)
    #815 05-11 14:26:39.397 25500 E AndroidRuntime at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007)
    #816 05-11 14:26:39.397 25500 E AndroidRuntime at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4570)
    #817 05-11 14:26:39.397 25500 E AndroidRuntime at android.app.ActivityThread.access$1300(ActivityThread.java:147)
    #818 05-11 14:26:39.397 25500 E AndroidRuntime at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332)
    #819 05-11 14:26:39.397 25500 E AndroidRuntime at android.os.Handler.dispatchMessage(Handler.java:99)
    #820 05-11 14:26:39.397 25500 E AndroidRuntime at android.os.Looper.loop(Looper.java:137)
    #821 05-11 14:26:39.397 25500 E AndroidRuntime at android.app.ActivityThread.main(ActivityThread.java:5265)
    #822 05-11 14:26:39.397 25500 E AndroidRuntime at java.lang.reflect.Method.invokeNative(Native Method)
    #823 05-11 14:26:39.397 25500 E AndroidRuntime at java.lang.reflect.Method.invoke(Method.java:525)
    #824 05-11 14:26:39.397 25500 E AndroidRuntime at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:760)
    #825 05-11 14:26:39.397 25500 E AndroidRuntime at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576)
    #826 05-11 14:26:39.397 25500 E AndroidRuntime at dalvik.system.NativeStart.main(Native Method)


    在云测平台选了50款机型,发现在4.x系统下报java.lang.VerifyError: com/facebook/soloader/SoLoader错误,目前还没有想到解决方案,大家有遇到同样问题的吗



  • 错误信息中有定位到本地代码,但是本地的代码是 SoLoader.init(this, /* native exopackage */ false); 错误定位在这里



  • 而且在同样的4.3系统下,三星的没有问题,难道是因为国产机的问题?


登录后回复