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

Android 16 kb issue

Open Arbaaz1 opened this issue 5 months ago • 5 comments

Description

libreanimated.so and libworklets.so is still 4kb aligned

Steps to reproduce

npm install Build release apk Analyze apk

Snack or a link to a repository

https://snack.expo.io/

Reanimated version

3.18.0

Worklets version

0.0

React Native version

0.77

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native CLI

Architecture

Legacy Architecture (Paper renderer)

Reanimated feature flags

None

React Native release level

None

Build type

No response

Device

No response

Host machine

None

Device model

No response

Acknowledgements

No

Arbaaz1 avatar Nov 05 '25 15:11 Arbaaz1

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 Nov 05 '25 15:11 github-actions[bot]

Same issue, i don’t found how fix this. Upgrade to 4.x.x is not a posibility because you have to change the architecture. I am using Expo but the issue is the same, libraries are unaligned. Can someone helps us? A way to fix this or any documentation? My setup is: RN: 0.79.6 Expo: 53.x.x React: 19.0 react-native-reanimated: 3.19.3

Thank you!!

federicoalnabulsi avatar Nov 09 '25 13:11 federicoalnabulsi

Hi, I got it fixed by adding these lines to the reanimated node module lib lib > android > build.gradle > cmake > arguments. "-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-z,max-page-size=16384 -Wl,-z,common-page-size=16384", "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-z,max-page-size=16384 -Wl,-z,common-page-size=16384"

Let me know if there is any better solution to this

Arbaaz1 avatar Nov 20 '25 11:11 Arbaaz1

Thank you! I solved this updating libraries, only old architectures were unaligned so we are good to go!

federicoalnabulsi avatar Nov 20 '25 14:11 federicoalnabulsi

Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 14536 (mqt_v_js), pid 14377 (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]]

i am facing this issue

jaikantshikray avatar Dec 10 '25 14:12 jaikantshikray

Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 14536 (mqt_v_js), pid 14377 (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]]

i am facing this issue

Same, are u fix your error @jaikantshikray

thaitd0396 avatar Dec 22 '25 11:12 thaitd0396