react-native: SoLoader: couldn't find DSO to load: libjscexecutor.so was update to 0.71.3

Description

  • init in 0.71.0
  • now update to 0.71.3

React Native Version

0.71.3

Output of npx react-native info

System:
    OS: macOS 13.2.1
    CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
    Memory: 26.20 GB / 64.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.12.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.4.2 - /usr/local/bin/npm
    Watchman: 2023.02.13.00 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 2022.1 AI-221.6008.13.2211.9477386
    Xcode: 14.2/14C18 - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.17 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0
    react-native: 0.71.3 => 0.71.3
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce

  • build release success
  • crashes on start

Snack, code example, screenshot, or link to a repository

2023-02-28 12:07:20.726 29354-29354 SoLoader                pid-29354                            E  couldn't find DSO to load: libjscexecutor.so
                                                                                                    	SoSource 0: com.facebook.soloader.ApkSoSource[root = /data/data/com.cioneshareapp/lib-main flags = 1]
                                                                                                    	SoSource 1: com.facebook.soloader.DirectorySoSource[root = /data/app/~~MLiPAbk0jPCS5klkTZhb1A==/com.cioneshareapp-DAwy-58T_3otfYx9HS5Jjg==/lib/arm64 flags = 0]
                                                                                                    	SoSource 2: com.facebook.soloader.DirectorySoSource[root = /system/lib64 flags = 2]
                                                                                                    	SoSource 3: com.facebook.soloader.DirectorySoSource[root = /vendor/lib64 flags = 2]
                                                                                                    	Native lib dir: /data/app/~~MLiPAbk0jPCS5klkTZhb1A==/com.cioneshareapp-DAwy-58T_3otfYx9HS5Jjg==/lib/arm64
                                                                                                     result: 0
2023-02-28 12:07:20.755  3060-3293  ActivityManagerWrapper  com.miui.home                        E  getRecentTasks: taskId=242   userId=0   baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.cioneshareapp/.MainActivity }
2023-02-28 12:07:20.767 29354-29381 AndroidRuntime          pid-29354                            E  FATAL EXCEPTION: create_react_context
                                                                                                    Process: com.cioneshareapp, PID: 29354
                                                                                                    java.lang.NoSuchMethodError: No static method createEgl14([I)Lorg/webrtc/EglBase14; in class Lorg/webrtc/EglBase; or its super classes (declaration of 'org.webrtc.EglBase' appears in /data/app/~~MLiPAbk0jPCS5klkTZhb1A==/com.cioneshareapp-DAwy-58T_3otfYx9HS5Jjg==/base.apk!classes2.dex)
                                                                                                    	at com.oney.WebRTCModule.EglUtils.getRootEglBase(EglUtils.java:35)
                                                                                                    	at com.oney.WebRTCModule.EglUtils.getRootEglBaseContext(EglUtils.java:62)
                                                                                                    	at com.oney.WebRTCModule.WebRTCModule.<init>(WebRTCModule.java:115)
                                                                                                    	at com.oney.WebRTCModule.WebRTCModule.<init>(WebRTCModule.java:81)
                                                                                                    	at com.oney.WebRTCModule.WebRTCModulePackage.createNativeModules(WebRTCModulePackage.java:14)
                                                                                                    	at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:42)
                                                                                                    	at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:42)
                                                                                                    	at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1456)
                                                                                                    	at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1427)
                                                                                                    	at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1338)
                                                                                                    	at com.facebook.react.ReactInstanceManager.access$1200(ReactInstanceManager.java:135)
                                                                                                    	at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:1109)
                                                                                                    	at java.lang.Thread.run(Thread.java:923)

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16 (2 by maintainers)

Most upvoted comments

apply from: “…/…/node_modules/react-native/react.gradle”

The issue you’re facing is because you’re still importing react.gradle which is now deprecated.

Please remove that line and report if the issue is still happening or not.

That’s right, thanks for your help!

apply from: “…/…/node_modules/react-native/react.gradle”

The issue you’re facing is because you’re still importing react.gradle which is now deprecated.

Please remove that line and report if the issue is still happening or not.

@denissb you need to include the JSC-DIST form the node modules folder…

Somewhere you need to add this (if you use gradle KTS): maven(“$rootDir/…/node_modules/jsc-android/dist”)

Looks little bit different in Gradle Groovy.