android某些机器进入react报java.lang.UnsatisfiedLinkError: could find DSO to load: libreactnativejni.so 有遇到的吗?



  • java.lang.UnsatisfiedLinkError: could find DSO to load: libreactnativejni.so
    at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:213)
    at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:178)
    at com.facebook.react.bridge.NativeMap.<clinit>(NativeMap.java:23)
    at com.microsoft.codepush.react.CodePushPackage.getCurrentPackageInfo(CodePushPackage.java:72)
    at com.microsoft.codepush.react.CodePushPackage.getCurrentPackageFolderPath(CodePushPackage.java:91)
    at com.microsoft.codepush.react.CodePushPackage.getCurrentPackageBundlePath(CodePushPackage.java:101)
    at com.microsoft.codepush.react.CodePush.getBundleUrl(CodePush.java:140)
    at com.haier.hairy.ui.home.FindActivity.getJSBundleFile(FindActivity.java:56)
    at com.facebook.react.ReactActivity.createReactInstanceManager(ReactActivity.java:108)
    at com.facebook.react.ReactActivity.onCreate(ReactActivity.java:140)
    at com.haier.hairy.ui.base.BaseReactActivity.onCreate(BaseReactActivity.java:53)
    at com.haier.hairy.ui.home.FindActivity.onCreate(FindActivity.java:47)
    at android.app.Activity.performCreate(Activity.java:6876)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3206)
    at android.app.ActivityThread.startActivityNow(ActivityThread.java:2977)
    at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:136)
    at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:348)
    at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:764)
    at android.widget.TabHost.setCurrentTab(TabHost.java:423)
    at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:193)
    at android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:645)
    at android.view.View.performClick(View.java:5697)
    at android.view.View$PerformClick.run(View.java:22526)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:158)
    at android.app.ActivityThread.main(ActivityThread.java:7224)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)



  • 检查下gradle里面是否正确配置了芯片平台,例如armv7 x86之类的


登录后回复