react-native-reanimated icon indicating copy to clipboard operation
react-native-reanimated copied to clipboard

couldn't find DSO to load: libworklets.so

Open jaikantshikray opened this issue 3 weeks ago • 2 comments

Description

i was on react native 0.75 and i have got warning from google play to provide support for 16kb page size so i have updated react native version to 0.81.4 and ndk to 28 and react native reanimated from 3.17.5 to react native reanimated 4.1.2 and worklet installed 0.7.1 all libs work fine but facing this issue of libworklets.so not found i have babel config setup as well

also i have react native reanimated import in my main index file

app crashed right after launch

Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 14536 (mqt_v_js), pid 14377 (ware.careclinic) 2025-12-10 19:19:10.194 14672-14672 DEBUG crash_dump64 A Cmdline: com.careclinicsoftware.careclinic 2025-12-10 19:19:10.194 14672-14672 DEBUG crash_dump64 A pid: 14377, tid: 14536, name: mqt_v_js >>> com.careclinicsoftware.careclinic <<< 2025-12-10 19:19:10.196 14672-14672 DEBUG crash_dump64 A Abort message: 'JNI DETECTED ERROR IN APPLICATION: JNI GetObjectRefType called with pending exception com.facebook.soloader.SoLoaderDSONotFoundError: couldn't find DSO to load: libworklets.so existing SO sources: SoSource 0: ApplicationSoSource[DirectorySoSource[root = /data/app/~~yaGqrHhUliKmE6fCBA7kXw==/com.careclinicsoftware.careclinic-zKApsUQBUuC4ipOtPBe0Nw==/lib/x86_64 flags = 0]] SoSource 1: DirectApkSoSource[root =

Steps to reproduce

Upgrade from 3.17.5 to 4.1.2 and ndk upgrade from 26 to 28

Snack or a link to a repository

https://github.com/tandemloop/careclinic_rn

Reanimated version

4.1.2

Worklets version

0.7.1

React Native version

0.81.4

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native CLI

Architecture

New Architecture (Fabric renderer)

Reanimated feature flags

None

React Native release level

Stable

Build type

Debug app & dev bundle

Device

Android emulator

Host machine

macOS

Device model

Pixel 8 Pro

Acknowledgements

Yes

jaikantshikray avatar Dec 10 '25 14:12 jaikantshikray

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

github-actions[bot] avatar Dec 10 '25 14:12 github-actions[bot]

Hi @jaikantshikray, it seems like a stale cache issue. Have you tried to rebuild your project after cleaning the caches (preferably with git clean -Xdf)?

tjzel avatar Dec 11 '25 11:12 tjzel

@jaikantshikray I facing same issue, and i found that react-native-reanimated only work with ndk 27 (I downgraded from ndk 28 to "27.3.13750724"). Hope this help!

thaitd0396 avatar Dec 23 '25 12:12 thaitd0396