question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[0.67] Android release crash: couldn't find DSO to load: libjscexecutor.so

See original GitHub issue

Description

In android release, it will crash. The android log shows that libjscexecutor.so is not found. the detailed log :


2022-01-20 16:47:43.716 726-6084/? E/ResolverController: No valid NAT64 prefix (1532, <unspecified>/0)
2022-01-20 16:47:44.744 9859-9859/? D/DragController: onControllerInterceptTouchEvent ActionDown pos =918, 1655
2022-01-20 16:47:44.747 9859-9859/? D/TouchInteractionService: onInputEvent# ev: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=918.0, y[0]=1655.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=1706226820, downTime=1706226820, deviceId=6, source=0x1002, displayId=0 }
2022-01-20 16:47:44.809 9859-9859/? D/DragController: onControllerInterceptTouchEvent ActionUp pos =918.0, 1655.0
2022-01-20 16:47:44.815 1316-4866/? D/OemSceneCallBlock: isCallBlockedWithUidIntent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.rn67/.MainActivity bnds=[845,1491][1048,1832] }, ResolveInfo{2516e73 com.rn67/.MainActivity m=0x0}, false
2022-01-20 16:47:44.816 1316-4866/? I/ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.rn67/.MainActivity bnds=[845,1491][1048,1832]} from uid 10047 pid 9859
2022-01-20 16:47:44.820 1316-4866/? E/ANDR-PERF-JNI: com_qualcomm_qtiperformance_native_perf_io_prefetch_start
2022-01-20 16:47:44.825 1316-4866/? D/ActivityTrigger: ActivityTrigger activityPauseTrigger 
2022-01-20 16:47:44.828 9859-9859/? D/BaseDraggingActivity: startActivity bookkeeping intent = Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.rn67/.MainActivity bnds=[845,1491][1048,1832] }
2022-01-20 16:47:44.828 9859-9859/? D/Stats: Intent.getPackage() is null. therefore try to get package name from componentName.getPackageName(): com.rn67
2022-01-20 16:47:44.828 9859-9859/? D/Stats: Intent.getPackage() is null. therefore try to get package name from componentName.getPackageName(): com.rn67
2022-01-20 16:47:44.829 9859-10526/? D/Stats: save stats in background ...
2022-01-20 16:47:44.829 9859-9859/? D/ItemClickHandler: onClick appShortcut, tag = WorkspaceItemInfo(id=848 type=APP container=desktop screen=6 cell(4,4) span(1,1) minSpan(1,1) rank=0 user=UserHandle{0} title=rn67 hidden=false dirty = false newInstallTag=null)
2022-01-20 16:47:44.830 1530-1556/? E/ANDR-IOP: io prefetch is disabled
2022-01-20 16:47:44.830 1316-1478/? E/system_server: Invalid ID 0x00000000.
2022-01-20 16:47:44.830 1316-1316/? V/SettingsProvider: Notifying for 0: content://settings/secure/reminder_exp_learning_time_elapsed
2022-01-20 16:47:44.832 9859-9859/? D/Launcher: onPause# hashcode: 229302063
2022-01-20 16:47:44.832 9859-9859/? I/ShelfLauncherCallbacks: onPause
2022-01-20 16:47:44.832 9859-9922/? I/WeatherProvider: un-subscribe the weather callback: 
2022-01-20 16:47:44.832 1316-1477/? D/OpPowerConsumpStatsInjector: notifyPkgEvent
2022-01-20 16:47:44.833 1316-1477/? D/OpRestartProcessManager: updateSelf :  com.rn67, size : 30
2022-01-20 16:47:44.840 570-570/? E/SELinux: avc:  denied  { find } for interface=vendor.qti.hardware.servicetracker::IServicetracker sid=u:r:system_server:s0 pid=1316 scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
2022-01-20 16:47:44.845 1316-1478/? D/OPDFontHInj: ViewRoot performTraversals. in Splash Screen com.rn67
2022-01-20 16:47:44.846 780-1032/? I/BtGatt.ScanManager: msg.what = 6
2022-01-20 16:47:44.858 9859-9859/? D/Launcher: onWindowFocusChanged# hasFocus: false
2022-01-20 16:47:44.868 727-727/? D/Zygote: Forked child process 6099
2022-01-20 16:47:44.870 1316-1484/? I/ActivityManager: Start proc 6099:com.rn67/u0a671 for activity {com.rn67/com.rn67.MainActivity}
2022-01-20 16:47:44.875 6099-6099/? E/com.rn67: Not starting debugger since process cannot load the jdwp agent.
2022-01-20 16:47:44.879 1316-3502/? D/OnePlusSmartBoostManager: writeHotCount com.rn67, pid=6099
2022-01-20 16:47:44.880 1316-1532/? E/OPPerf: Exception : file not exits :/proc/6099/main_boost_switch
2022-01-20 16:47:44.880 1316-1532/? E/OPPerf: Exception : file not exits :/proc/1316/main_boost_switch
2022-01-20 16:47:44.881 9956-6119/? E/ANDR-RAMBOOST_SERVER: ramboost cmd_len = 71 cmd: iop_start -1 com.rn67 /data/app/com.rn67-A-CO3-oMUXiGdFC9djvLDg== false
2022-01-20 16:47:44.881 9956-6119/? E/ANDR-RAMBOOST_SERVER: is_in_recent_list is TRUE
2022-01-20 16:47:44.881 9956-6119/? E/ANDR-RAMBOOST_SERVER: io prefetch is deactivate
2022-01-20 16:47:44.884 9956-6120/? E/ANDR-RAMBOOST_SERVER: ramboost cmd_len = 73 cmd: iop_start 6099 com.rn67 /data/app/com.rn67-A-CO3-oMUXiGdFC9djvLDg== false
2022-01-20 16:47:44.884 9956-6120/? E/ANDR-RAMBOOST_SERVER: io prefetch Capture is deactivated 
2022-01-20 16:47:44.884 1316-3502/? D/OemSceneModeActivityStack: [scene] evaluateGameModes :  gameMsg.arg1=0 gameMsg.arg2=1
2022-01-20 16:47:44.885 1316-3502/? D/OpQuickReply: setQuickReplyResumed focusedApp AppWindowToken{5dab32e token=Token{e7991a9 ActivityRecord{c454130 u0 com.rn67/.MainActivity t31785}}} pkgName com.rn67
2022-01-20 16:47:44.887 1316-1478/? D/RemoteAnimationController: createAnimationAdapter(): token=AppWindowToken{dbe0df2 token=Token{f224cfd ActivityRecord{a814554 u0 net.oneplus.launcher/.Launcher t29497}}}
2022-01-20 16:47:44.888 1316-1478/? D/RemoteAnimationController: startAnimation
2022-01-20 16:47:44.888 1316-1478/? D/RemoteAnimationController: createAnimationAdapter(): token=AppWindowToken{5dab32e token=Token{e7991a9 ActivityRecord{c454130 u0 com.rn67/.MainActivity t31785}}}
2022-01-20 16:47:44.889 1316-1478/? D/RemoteAnimationController: startAnimation
2022-01-20 16:47:44.889 1316-1478/? D/RemoteAnimationController: goodToGo()
2022-01-20 16:47:44.889 1316-1478/? D/RemoteAnimationController: createAnimations()
2022-01-20 16:47:44.889 1316-1478/? D/RemoteAnimationController: 	Add token=AppWindowToken{5dab32e token=Token{e7991a9 ActivityRecord{c454130 u0 com.rn67/.MainActivity t31785}}}
2022-01-20 16:47:44.889 1316-1478/? D/RemoteAnimationController: 	Add token=AppWindowToken{dbe0df2 token=Token{f224cfd ActivityRecord{a814554 u0 net.oneplus.launcher/.Launcher t29497}}}
2022-01-20 16:47:44.891 1316-1478/? D/RemoteAnimationController: startAnimation(): Notify animation start:
2022-01-20 16:47:44.891 1316-1478/? I/RemoteAnimationController: Starting remote animation
2022-01-20 16:47:44.891 1316-1478/? I/RemoteAnimationController: token=AppWindowToken{5dab32e token=Token{e7991a9 ActivityRecord{c454130 u0 com.rn67/.MainActivity t31785}}}
    Target:
      mode=0 taskId=31785 isTranslucent=false clipRect=[0,0][1080,2280] contentInsets=[0,80][0,0] prefixOrderIndex=81 position=[0,0] sourceContainerBounds=[0,0][1080,2280]
      windowConfiguration={ mBounds=Rect(0, 0 - 1080, 2280) mAppBounds=Rect(0, 79 - 1080, 2280) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=standard mAlwaysOnTop=undefined mRotation=ROTATION_0}
      leash=Surface(name=Surface(name=AppWindowToken{5dab32e token=Token{e7991a9 ActivityRecord{c454130 u0 com.rn67/.MainActivity t31785}}})/@0x3bc6814 - animation-leash)/@0x6d87861
    token=AppWindowToken{dbe0df2 token=Token{f224cfd ActivityRecord{a814554 u0 net.oneplus.launcher/.Launcher t29497}}}
    Target:
      mode=1 taskId=29497 isTranslucent=false clipRect=[0,0][1080,2280] contentInsets=[0,80][0,0] prefixOrderIndex=77 position=[0,0] sourceContainerBounds=[0,0][1080,2280]
      windowConfiguration={ mBounds=Rect(0, 0 - 1080, 2280) mAppBounds=Rect(0, 79 - 1080, 2280) mWindowingMode=fullscreen mDisplayWindowingMode=fullscreen mActivityType=home mAlwaysOnTop=undefined mRotation=ROTATION_0}
      leash=Surface(name=Surface(name=AppWindowToken{dbe0df2 token=Token{f224cfd ActivityRecord{a814554 u0 net.oneplus.launcher/.Launcher t29497}}})/@0xac1063b - animation-leash)/@0xadeff86
2022-01-20 16:47:44.892 9859-9995/? D/LauncherAnimationRunner: onAnimationStart#
2022-01-20 16:47:44.892 1316-1477/? D/Foreground_io: TOP_APP is ProcessRecord{bb73ef4 6099:com.rn67/u0a671} uid is 10671
2022-01-20 16:47:44.893 1316-6122/? D/Foreground_io: Setting fg uid
2022-01-20 16:47:44.893 9859-9859/? D/StateManager: setAnimation# targetState: null, anim: 205384232
2022-01-20 16:47:44.893 1316-6122/? D/Foreground_io: Done
2022-01-20 16:47:44.894 9859-9859/? I/Launcher.Utilities: [BUG 94792] getViewBoundsOnWindow, hotseat - hotseatScaleX = 1.0, hotseatScaleY = 1.0, hotseatTranslationX = 0.0, hotseatTranslationY = 0.0
2022-01-20 16:47:44.895 9859-9859/? D/QuickstepTransition: [OSP-1899] getLauncherContentAnimator: isAppOpening= true, trans= 0.0, -131.0
2022-01-20 16:47:44.895 9859-9859/? D/QuickstepTransition: run DragLayer alpha animation to 1.0
2022-01-20 16:47:44.896 9859-9859/? D/BaseActivity: addForceInvisibleFlag add flag = 2, currentFlag = 2
2022-01-20 16:47:44.897 9859-9859/? D/BaseActivity: Showing call stack: 
        [BaseActivity] QuickstepAppTransitionManagerImpl.java, onAnimationStart, line: 158
2022-01-20 16:47:44.900 6099-6099/? I/Perf: Connecting to perf service.
2022-01-20 16:47:44.900 1316-1477/? D/OpPowerConsumpStatsInjector: notifyPkgEvent
2022-01-20 16:47:44.903 6099-6099/? I/com.rn67: [GL_OOM] ClampGrowthLimit 268435456
2022-01-20 16:47:44.904 6099-6099/? V/Font: Dynamic Font V2 Ignore Call [ Change font:1]
2022-01-20 16:47:44.906 6099-6099/? D/SoLoader: init start
2022-01-20 16:47:44.906 6099-6099/? D/SoLoader: adding system library source: /vendor/lib64
2022-01-20 16:47:44.906 6099-6099/? D/SoLoader: adding system library source: /system/lib64
2022-01-20 16:47:44.906 6099-6099/? D/SoLoader: adding application source: com.facebook.soloader.DirectorySoSource[root = /data/app/com.rn67-A-CO3-oMUXiGdFC9djvLDg==/lib/arm64 flags = 0]
2022-01-20 16:47:44.906 6099-6099/? D/SoLoader: adding backup source from : com.facebook.soloader.ApkSoSource[root = /data/data/com.rn67/lib-main flags = 1]
2022-01-20 16:47:44.906 6099-6099/? D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /system/lib64 flags = 2]
2022-01-20 16:47:44.906 6099-6099/? D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /vendor/lib64 flags = 2]
2022-01-20 16:47:44.906 6099-6099/? D/SoLoader: Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /data/app/com.rn67-A-CO3-oMUXiGdFC9djvLDg==/lib/arm64 flags = 0]
2022-01-20 16:47:44.907 6099-6099/? D/SoLoader: Preparing SO source: com.facebook.soloader.ApkSoSource[root = /data/data/com.rn67/lib-main flags = 1]
2022-01-20 16:47:44.907 6099-6099/? V/fb-UnpackingSoSource: locked dso store /data/user/0/com.rn67/lib-main
2022-01-20 16:47:44.907 6099-6099/? I/fb-UnpackingSoSource: dso store is up-to-date: /data/user/0/com.rn67/lib-main
2022-01-20 16:47:44.907 6099-6099/? V/fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.rn67/lib-main
2022-01-20 16:47:44.907 6099-6099/? D/SoLoader: init finish: 4 SO sources prepared
2022-01-20 16:47:44.907 6099-6099/? D/SoLoader: init exiting
2022-01-20 16:47:44.909 6099-6099/? D/SoLoader: init exiting
2022-01-20 16:47:44.909 6099-6099/? D/SoLoader: About to load: libjscexecutor.so
2022-01-20 16:47:44.909 6099-6099/? D/SoLoader: libjscexecutor.so not found on /data/data/com.rn67/lib-main
2022-01-20 16:47:44.909 6099-6099/? D/SoLoader: libjscexecutor.so not found on /data/app/com.rn67-A-CO3-oMUXiGdFC9djvLDg==/lib/arm64
2022-01-20 16:47:44.909 6099-6099/? D/SoLoader: libjscexecutor.so not found on /vendor/lib64
2022-01-20 16:47:44.909 6099-6099/? D/SoLoader: libjscexecutor.so not found on /system/lib64
2022-01-20 16:47:44.910 6099-6099/? E/SoLoader: couldn't find DSO to load: libjscexecutor.so
    	SoSource 0: com.facebook.soloader.ApkSoSource[root = /data/data/com.rn67/lib-main flags = 1]
    	SoSource 1: com.facebook.soloader.DirectorySoSource[root = /data/app/com.rn67-A-CO3-oMUXiGdFC9djvLDg==/lib/arm64 flags = 0]
    	SoSource 2: com.facebook.soloader.DirectorySoSource[root = /vendor/lib64 flags = 2]
    	SoSource 3: com.facebook.soloader.DirectorySoSource[root = /system/lib64 flags = 2]
    	Native lib dir: /data/app/com.rn67-A-CO3-oMUXiGdFC9djvLDg==/lib/arm64
     result: 0
2022-01-20 16:47:44.910 6099-6099/? D/SoLoader: About to load: libhermes.so
2022-01-20 16:47:44.910 6099-6099/? D/SoLoader: libhermes.so not found on /data/data/com.rn67/lib-main
2022-01-20 16:47:44.910 6099-6099/? D/SoLoader: libhermes.so not found on /data/app/com.rn67-A-CO3-oMUXiGdFC9djvLDg==/lib/arm64
2022-01-20 16:47:44.910 6099-6099/? D/SoLoader: libhermes.so not found on /vendor/lib64
2022-01-20 16:47:44.910 6099-6099/? D/SoLoader: libhermes.so not found on /system/lib64
2022-01-20 16:47:44.911 6099-6099/? E/SoLoader: couldn't find DSO to load: libhermes.so
    	SoSource 0: com.facebook.soloader.ApkSoSource[root = /data/data/com.rn67/lib-main flags = 1]
    	SoSource 1: com.facebook.soloader.DirectorySoSource[root = /data/app/com.rn67-A-CO3-oMUXiGdFC9djvLDg==/lib/arm64 flags = 0]
    	SoSource 2: com.facebook.soloader.DirectorySoSource[root = /vendor/lib64 flags = 2]
    	SoSource 3: com.facebook.soloader.DirectorySoSource[root = /system/lib64 flags = 2]
    	Native lib dir: /data/app/com.rn67-A-CO3-oMUXiGdFC9djvLDg==/lib/arm64
     result: 0
2022-01-20 16:47:44.911 6099-6099/? W/System.err: java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so
2022-01-20 16:47:44.911 6099-6099/? W/System.err: 	SoSource 0: com.facebook.soloader.ApkSoSource[root = /data/data/com.rn67/lib-main flags = 1]
2022-01-20 16:47:44.911 6099-6099/? W/System.err: 	SoSource 1: com.facebook.soloader.DirectorySoSource[root = /data/app/com.rn67-A-CO3-oMUXiGdFC9djvLDg==/lib/arm64 flags = 0]
2022-01-20 16:47:44.911 6099-6099/? W/System.err: 	SoSource 2: com.facebook.soloader.DirectorySoSource[root = /vendor/lib64 flags = 2]
2022-01-20 16:47:44.911 6099-6099/? W/System.err: 	SoSource 3: com.facebook.soloader.DirectorySoSource[root = /system/lib64 flags = 2]
2022-01-20 16:47:44.911 6099-6099/? W/System.err: 	Native lib dir: /data/app/com.rn67-A-CO3-oMUXiGdFC9djvLDg==/lib/arm64
2022-01-20 16:47:44.911 6099-6099/? W/System.err:  result: 0
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:918)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at com.facebook.soloader.SoLoader.loadLibraryBySoNameImpl(SoLoader.java:740)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:654)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:634)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:582)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at com.facebook.hermes.reactexecutor.HermesExecutor.loadLibrary(HermesExecutor.java:25)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at com.facebook.hermes.reactexecutor.HermesExecutor.<clinit>(HermesExecutor.java:19)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at com.facebook.hermes.reactexecutor.HermesExecutor.loadLibrary(HermesExecutor.java:23)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at com.facebook.react.ReactInstanceManagerBuilder.getDefaultJSExecutorFactory(ReactInstanceManagerBuilder.java:370)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at com.facebook.react.ReactInstanceManagerBuilder.build(ReactInstanceManagerBuilder.java:319)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at com.facebook.react.ReactNativeHost.createReactInstanceManager(ReactNativeHost.java:95)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at com.facebook.react.ReactNativeHost.getReactInstanceManager(ReactNativeHost.java:42)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at com.rn67.MainApplication.onCreate(MainApplication.java:47)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1197)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6647)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at android.app.ActivityThread.access$1600(ActivityThread.java:231)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1952)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:107)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at android.os.Looper.loop(Looper.java:214)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:7682)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
2022-01-20 16:47:44.911 6099-6099/? W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
2022-01-20 16:47:44.912 6099-6099/? D/AndroidRuntime: Shutting down VM
    
    
    --------- beginning of crash
2022-01-20 16:47:44.912 6099-6099/? E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.rn67, PID: 6099
    java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libjscexecutor.so
    	SoSource 0: com.facebook.soloader.ApkSoSource[root = /data/data/com.rn67/lib-main flags = 1]
    	SoSource 1: com.facebook.soloader.DirectorySoSource[root = /data/app/com.rn67-A-CO3-oMUXiGdFC9djvLDg==/lib/arm64 flags = 0]
    	SoSource 2: com.facebook.soloader.DirectorySoSource[root = /vendor/lib64 flags = 2]
    	SoSource 3: com.facebook.soloader.DirectorySoSource[root = /system/lib64 flags = 2]
    	Native lib dir: /data/app/com.rn67-A-CO3-oMUXiGdFC9djvLDg==/lib/arm64
     result: 0
        at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:918)
        at com.facebook.soloader.SoLoader.loadLibraryBySoNameImpl(SoLoader.java:740)
        at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:654)
        at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:634)
        at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:582)
        at com.facebook.react.jscexecutor.JSCExecutor.loadLibrary(JSCExecutor.java:24)
        at com.facebook.react.jscexecutor.JSCExecutor.<clinit>(JSCExecutor.java:20)
        at com.facebook.react.jscexecutor.JSCExecutor.loadLibrary(Unknown Source:0)
        at com.facebook.react.ReactInstanceManagerBuilder.getDefaultJSExecutorFactory(ReactInstanceManagerBuilder.java:352)
        at com.facebook.react.ReactInstanceManagerBuilder.build(ReactInstanceManagerBuilder.java:319)
        at com.facebook.react.ReactNativeHost.createReactInstanceManager(ReactNativeHost.java:95)
        at com.facebook.react.ReactNativeHost.getReactInstanceManager(ReactNativeHost.java:42)
        at com.rn67.MainApplication.onCreate(MainApplication.java:47)
        at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1197)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6647)
        at android.app.ActivityThread.access$1600(ActivityThread.java:231)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1952)
        at android.os.Handler.dispatchMessage(Handler.java:107)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7682)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
2022-01-20 16:47:44.914 1316-3502/? W/ActivityTaskManager:   Force finishing activity com.rn67/.MainActivity
2022-01-20 16:47:44.914 1316-6124/? I/DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
2022-01-20 16:47:44.915 1316-3502/? D/OpQuickReply: setQuickReplyResumed focusedApp AppWindowToken{dbe0df2 token=Token{f224cfd ActivityRecord{a814554 u0 net.oneplus.launcher/.Launcher t29497}}} pkgName net.oneplus.launcher
2022-01-20 16:47:44.915 1316-6124/? D/FrameworkEventCollector: recordAppIssue PN: com.rn67
2022-01-20 16:47:44.916 1316-3502/? D/ActivityTrigger: ActivityTrigger activityPauseTrigger 
2022-01-20 16:47:44.916 1316-7598/? D/gwy: OS Event: crash
2022-01-20 16:47:44.916 1316-3502/? D/OpQuickReply: setQuickReplyResumed focusedApp AppWindowToken{dbe0df2 token=Token{f224cfd ActivityRecord{a814554 u0 net.oneplus.launcher/.Launcher t29497}}} pkgName net.oneplus.launcher
2022-01-20 16:47:44.919 1316-1477/? D/OpRestartProcessManager: Duration is too short, ignore : 83 in com.rn67
2022-01-20 16:47:44.920 1316-1475/? I/ActivityManager: Showing crash dialog for package com.rn67 u0
2022-01-20 16:47:44.921 1316-1584/? D/Foreground_io: TOP_APP is ProcessRecord{bffa16e 9859:net.oneplus.launcher/u0a47} uid is 10047
2022-01-20 16:47:44.921 1316-6125/? D/Foreground_io: Setting fg uid
2022-01-20 16:47:44.922 1316-6125/? D/Foreground_io: Done
2022-01-20 16:47:44.923 1316-6124/? D/DropBoxManagerService: Copy /data/system/dropbox/data_app_crash@2022-01-20-16_47_44_922.txt to /data/oem_log/
2022-01-20 16:47:44.924 4086-6080/? D/OPReportService: addMonitorFolder onEvent path=data_app_crash@2022-01-20-16_47_44_922.txt, event:8
2022-01-20 16:47:44.925 1316-1483/? 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
2022-01-20 16:47:44.925 1316-1483/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
2022-0

Version

0.67.0

Output of npx react-native info

System:
    OS: Windows 10 10.0.19042
    CPU: (12) x64 Intel(R) Core(TM) i5-10500 CPU @ 3.10GHz
    Memory: 4.09 GB / 15.83 GB
  Binaries:
    Node: 16.13.2 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.4 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 8.1.2 - C:\Program Files\nodejs\npm.CMD
    Watchman: Not Found
  SDKs:
    Android SDK: Not Found
    Windows SDK: Not Found
  IDEs:
    Android Studio: Version     2020.3.0.0 AI-203.7717.56.2031.7935034
    Visual Studio: Not Found
  Languages:
    Java: 11.0.10 - C:\Program Files\Android\Android Studio\jre\bin\javac.EXE
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.67.0 => 0.67.0
    react-native-windows: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce

just use the lastest rn version: npx react-native init rn67 --version 0.67.0 then into the android directory, run: gradlew assembleRelease then grab the app-release.apk and install it via adb. Then it crashed with the log above.

I find this error still exist in 0.67.0RC version( tested in rc6, which will crash), but in 0.66.4, there is no crash.

Further deep in, I find it may be related to this: https://github.com/facebook/react-native/commit/6f126740fa560d7a831979b9f3747baacfb28dba

U may see the conversation below this commit: if i comment the 3 lines, i find the android release won’t crash, but as @cortinico said, libjscexecutor.so shouldn’t be in release.

So what’s the best for me to do?

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

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:32 (2 by maintainers)

github_iconTop GitHub Comments

36reactions
michaelmikacommented, Aug 5, 2022

@nriccar I get it on react-native 0.69 with hermes activated on release build. Debug build works fine. This should be re-opened.

24reactions
cortinicocommented, Jan 20, 2022

U may see the conversation below this commit: if i comment the 3 lines, i find the android release won’t crash, but as @cortinico said, libjscexecutor.so shouldn’t be in release.

Thanks for the issue report @coolguy001tv. I was actually wrong as both libjsc and libjscexecutor are both needed for Debug and Release. We were under the wrong assumption that libjscexecutor contained only debug symbols but that’s not the case.

Sadly this slipped through the release testing process as we mostly focus our testing on Hermes rather than JSC.

Also as a workaround while we work on a point release, you can still use this in your app/build.gradle to avoid the instacrash:

project.ext.react = [
    enableHermes: false,
+   deleteDebugFilesForVariant: { false }
]
Read more comments on GitHub >

github_iconTop Results From Across the Web

couldn't find DSO to load: libjscexecutor.so caused by: dlopen ...
App crash on Android integration with existing apps. ... [0.67] Android release crash: couldn't find DSO to load: libjscexecutor.so #32928.
Read more >
E/SoLoader: couldn't find DSO to load: libjscexecutor.so
I'm able to build and generate a debug variant artifact, however my app crash after splash screen due to libjscexecutor.so. What I've tried:....
Read more >
Fixing React-Native android release build - wesionaryTEAM
Android release build crashes on launch but works fine in development mode. ... UnsatisfiedLinkError: couldn't find DSO to load: libjsexecutor.so.
Read more >
Announcing React Native 0.70
We are excited to release a new version of React Native, 0.70.0. This version comes with several improvements like a new unified ...
Read more >
[Android error] couldn't find DSO to load: libjscexecutor.so
에러 발생 당시 React-Native Version :: react-native@0.63.4 | MIT | deps: 27 | versions: 559. ​ npm install hermesvm npm install jsc-android.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found