-
Notifications
You must be signed in to change notification settings - Fork 585
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
Build Failure Due to Duplicate libreactnative.so File in Realm and React-Android #6918
Comments
➤ PM Bot commented: Jira ticket: RJS-2916 |
For temporary fixing it, you can do this: ./node_modules/realm/binding/android/build.gradle Add this one line in the excludes array. |
For whatever reason I also had to change |
still issue |
@edritech93 right. The PR is merged, however this is yet to be released. |
The fix for this has been released as v12.14.0. Please help us take it for a spin 🙏 |
The fix for this was picked onto the |
How frequently does the bug occur?
Always
Description
When building the app with Gradle, the build process fails due to a duplicate libreactnative.so file. I expected the app to build and install without issues, but instead, the build fails with an error indicating that there are two instances of libreactnative.so, one from the realm library and another from react-android. This conflict prevents the app from installing.
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
Version
12.13.2
What services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
Android 12
Build environment
OS: [Ubuntu 22.04]
Node.js: 18.17.0
React Native: 0.76.1
Gradle: 8.10.2
Java 17.0.7-zulu
Cocoapods version
No response
The text was updated successfully, but these errors were encountered: