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

Exception in HostObject::get(propName:Realm): java.lang.UnsatisfiedLinkError #6026

Closed
Hisham546 opened this issue Aug 1, 2023 · 5 comments
Closed

Comments

@Hisham546
Copy link

Hisham546 commented Aug 1, 2023

How frequently does the bug occur?

Always

Description

Hi,
I'm getting this error after installing.i tryed clean installing node modules but this thing still shows before app opens.

Stacktrace & log output

Error: Exception in HostObject::get(propName:Realm): java.lang.UnsatisfiedLinkError: couldn't find DSO to load: librealm.so caused by: dlopen failed: cannot locate symbol "__emutls_get_address" referenced by "/data/app/~~x_E5su1IaYd9B_sH1hA34w==/com.app-hrzTdpx7NMncezc9OiGzUQ==/lib/x86/librealm.so"... result: 0

Can you reproduce the bug?

Sometimes

Reproduction Steps

No response

Version

11.10.1

What services are you using?

  • select --

Are you using encryption?

No

Platform OS and version(s)

Android

Build environment

Which debugger for React Native: ..

Cocoapods version

No response

@takameyer
Copy link
Contributor

@Hisham546 Can you verify the contents of node_modules/realm/react-native/android/src/main/jniLibs?
There should be an x86/librealm.so in there.

@sync-by-unito sync-by-unito bot added the Waiting-For-Reporter Waiting for more information from the reporter before we can proceed label Aug 2, 2023
@Hisham546
Copy link
Author

@Hisham546 Can you verify the contents of node_modules/realm/react-native/android/src/main/jniLibs? There should be an x86/librealm.so in there.

I didnt found android folder inside node_modules/realm
instead there's two folder common and network transport
both of them contain multiple bundle.cjs.js files

@github-actions github-actions bot added Needs-Attention Reporter has responded. Review comment. and removed Waiting-For-Reporter Waiting for more information from the reporter before we can proceed labels Aug 2, 2023
@takameyer
Copy link
Contributor

takameyer commented Aug 2, 2023

@Hisham546 That needs to be there, so verify that you are installing the realm package and that it exists in node_modules. I have tested this today and have working apps in both Android and iOS using 11.10.1, so there seems to be no issue with the package itself.

@Hisham546
Copy link
Author

@takameyer It fixed,i think the issue was with React-Native version 0.69.3.i updated to 0.71.4 and everything working fine now . x86/librealm.so is there.

@takameyer
Copy link
Contributor

Great to hear you got it working! Happy coding 💻

@sync-by-unito sync-by-unito bot removed the Needs-Attention Reporter has responded. Review comment. label Aug 2, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants