Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting errors with soloader with app bundled 'arm-64-v8a' #25536

Closed
redstubble opened this issue Jul 7, 2019 · 2 comments
Closed

Getting errors with soloader with app bundled 'arm-64-v8a' #25536

redstubble opened this issue Jul 7, 2019 · 2 comments
Labels
Bug Stale There has been a lack of activity on this issue and it may be closed soon. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used.

Comments

@redstubble
Copy link

redstubble commented Jul 7, 2019

Using a configuration which has worked for 6 months suddenly causes the following errors
java.lang.UnsatisfiedLinkError: couldn't find DSO to load at com.facebook.soloader.SoLoader.

React Native version: 59.5

Steps To Reproduce

  1. build.gradle
    splits {
        abi {
            reset()
            enable enableSeparateBuildPerCPUArchitecture
            universalApk true  // If true, also generate a universal APK
            include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
        }
    }
  1. Test fine on app but on moto G4 throws the above error.

At a complete loss its using soLoader 6 which supports all this. All the issues I am finding are old. What could be the issue?

07-08 03:06:20.139 4664 4683 D JavaScriptCore.Version: 236355.1.0
07-08 03:06:20.141 4664 4683 D SoLoader: Loaded: libreactnativejni.so
07-08 03:06:20.141 4664 4683 D SoLoader: About to load: libfb.so
07-08 03:06:20.141 4664 4683 D SoLoader: libfb.so not found on /data/data/com.ionicframework.psapp180051/lib-main
07-08 03:06:20.141 4664 4683 D SoLoader: libfb.so found on /data/app/com.ionicframework.psapp180051-wQ1RyCITyCf7u0Qy207PQg==/lib/arm
07-08 03:06:20.141 4664 4683 D SoLoader: Not resolving dependencies for libfb.so
07-08 03:06:20.143 4664 4683 D SoLoader: About to load: libfb.so
07-08 03:06:20.143 4664 4683 D SoLoader: libfb.so not found on /data/data/com.ionicframework.psapp180051/lib-main
07-08 03:06:20.143 4664 4683 D SoLoader: libfb.so found on /data/app/com.ionicframework.psapp180051-wQ1RyCITyCf7u0Qy207PQg==/lib/arm
07-08 03:06:20.143 4664 4683 D SoLoader: Not resolving dependencies for libfb.so
07-08 03:06:20.143 4664 4683 I ork.psapp18005: Thread[11,tid=4683,Native,Thread*=0xe286ba00,peer=0x13b00548,"create_react_context"] recursive attempt to load library "/data/app/com.ionicframework.psapp180051-wQ1RyCITyCf7u0Qy207PQg==/lib/arm/libfb.so"
07-08 03:06:20.143 4664 4683 D SoLoader: Loaded: libfb.so
07-08 03:06:20.144 4664 4683 E libfb : error java.lang.ClassNotFoundException: Didn't find class "com.facebook.jni.HybridData$Destructor" on path: DexPathList[[zip file "/data/app/com.ionicframework.psapp180051-wQ1RyCITyCf7u0Qy207PQg==/base.apk"],nativeLibraryDirectories=[/data/app/com.ionicframework.psapp180051-wQ1RyCITyCf7u0Qy207PQg==/lib/arm, /data/app/com.ionicframework.psapp180051-wQ1RyCITyCf7u0Qy207PQg==/base.apk!/lib/armeabi-v7a, /system/lib]]
07-08 03:06:20.144 4664 4683 E SoLoader: couldn't find DSO to load: libfb.so caused by: Didn't find class "com.facebook.jni.HybridData$Destructor" on path: DexPathList[[zip file "/data/app/com.ionicframework.psapp180051-wQ1RyCITyCf7u0Qy207PQg==/base.apk"],nativeLibraryDirectories=[/data/app/com.ionicframework.psapp180051-wQ1RyCITyCf7u0Qy207PQg==/lib/arm, /data/app/com.ionicframework.psapp180051-wQ1RyCITyCf7u0Qy207PQg==/base.apk!/lib/armeabi-v7a, /system/lib]]
07-08 03:06:20.146 4664 4683 E AndroidRuntime: FATAL EXCEPTION: create_react_context
07-08 03:06:20.146 4664 4683 E AndroidRuntime: Process: com.ionicframework.psapp180051, PID: 4664
07-08 03:06:20.146 4664 4683 E AndroidRuntime: java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libfb.so caused by: Didn't find class "com.facebook.jni.HybridData$Destructor" on path: DexPathList[[zip file "/data/app/com.ionicframework.psapp180051-wQ1RyCITyCf7u0Qy207PQg==/base.apk"],nativeLibraryDirectories=[/data/app/com.ionicframework.psapp180051-wQ1RyCITyCf7u0Qy207PQg==/lib/arm, /data/app/com.ionicframework.psapp180051-wQ1RyCITyCf7u0Qy207PQg==/base.apk!/lib/armeabi-v7a, /system/lib]]
07-08 03:06:20.146 4664 4683 E AndroidRuntime: at com.facebook.soloader.SoLoader.b(Unknown Source:378)
07-08 03:06:20.146 4664 4683 E AndroidRuntime: at com.facebook.soloader.SoLoader.a(Unknown Source:103)
07-08 03:06:20.146 4664 4683 E AndroidRuntime: at com.facebook.soloader.SoLoader.a(Unknown Source:76)
07-08 03:06:20.146 4664 4683 E AndroidRuntime: at com.facebook.soloader.SoLoader.a(Unknown Source:1)
07-08 03:06:20.146 4664 4683 E AndroidRuntime: at com.facebook.jni.HybridData.(Unknown Source:2)
07-08 03:06:20.146 4664 4683 E AndroidRuntime: at com.facebook.react.bridge.WritableNativeMap.initHybrid(Native Method)
07-08 03:06:20.146 4664 4683 E AndroidRuntime: at com.facebook.react.bridge.WritableNativeMap.(Unknown Source:0)
07-08 03:06:20.146 4664 4683 E AndroidRuntime: at com.facebook.react.jscexecutor.a.create(Unknown Source:2)
07-08 03:06:20.146 4664 4683 E AndroidRuntime: at com.facebook.react.aa.run(Unknown Source:58)
07-08 03:06:20.146 4664 4683 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
07-08 03:06:20.151 1699 6774 W ActivityManager: Force finishing activity com.ionicframework.psapp180051/.MainActivity
07-08 03:06:20.156 1699 1783 I ActivityManager: Showing crash dialog for package com.ionicframework.psapp180051 u0
07-08 03:06:20.157 1699 1782 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver

@redstubble redstubble added the Bug label Jul 7, 2019
@react-native-bot react-native-bot added the Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used. label Jul 7, 2019
@stale
Copy link

stale bot commented Oct 5, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Oct 5, 2019
@stale
Copy link

stale bot commented Oct 12, 2019

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Oct 12, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Oct 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Stale There has been a lack of activity on this issue and it may be closed soon. Tech: Bundler 📦 This issue is related to the bundler (Metro, Haul, etc) used.
Projects
None yet
Development

No branches or pull requests

2 participants