Android6.0运行出错



  • java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.boutique.regal/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit
    at java.lang.Runtime.load(Runtime.java:332)
    at java.lang.System.load(System.java:1069)
    at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:71)
    at com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:42)
    at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:299)
    at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:65)
    at com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:42)
    at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:299)
    at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:65)
    at com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:42)
    at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:299)
    at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:65)
    at com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:42)
    at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:299)
    at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:65)
    at com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:42)
    at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:299)
    at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:247)
    at com.facebook.react.bridge.ReactBridge.staticInit(ReactBridge.java:24)
    at com.facebook.react.bridge.ReactBridge.<clinit>(ReactBridge.java:20)
    at com.facebook.react.bridge.ReactBridge.staticInit(ReactBridge.java:24)
    at com.facebook.react.bridge.NativeMap.<clinit>(NativeMap.java:22)
    at com.facebook.react.JSCConfig$1.getConfigMap(JSCConfig.java:14)
    at com.facebook.react.XReactInstanceManagerImpl.onJSBundleLoadedFromServer(XReactInstanceManagerImpl.java:731)
    at com.facebook.react.XReactInstanceManagerImpl.recreateReactContextInBackgroundInner(XReactInstanceManagerImpl.java:392)
    at com.facebook.react.XReactInstanceManagerImpl.createReactContextInBackground(XReactInstanceManagerImpl.java:363)
    at com.facebook.react.ReactRootView.startReactApplication(ReactRootView.java:213)
    at com.facebook.react.ReactRootView.startReactApplication(ReactRootView.java:186)
    at com.boutique.regal.activity.RNActivity.onCreate(RNActivity.java:37)
    at android.app.Activity.performCreate(Activity.java:6876)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350)
    at android.app.ActivityThread.access$1100(ActivityThread.java:222)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1795)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:158)
    at android.app.ActivityThread.main(ActivityThread.java:7237)
    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)



  • @single-lee 说:

    is 32-bit instead of 64-bit

    请问这个问题解决了吗?



  • 这个跟Android版本没有关系,这是跟手机cpu有关,现在没有编译64位的so文件,只编译了armeabi-v7a x86这两种



  • 但是,没有集成RN之前,我的程序在64位手机上都是没问题的啊?


登录后回复