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

fix: exclude libreactnative.so (rn76 prefab) #3271

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hsjoberg
Copy link

@hsjoberg hsjoberg commented Oct 31, 2024

What

Hey.
There are still some problems with the react-native 0.76 prefab, #3270.

* What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.MergeNativeLibsTask$MergeNativeLibsTaskWorkAction
   > 2 files found with path 'lib/arm64-v8a/libreactnative.so' from inputs:
      - /Users/torrrrzz/Documents/blesspayments/mobileapp/node_modules/react-native-vision-camera/android/build/intermediates/library_jni/debug/copyDebugJniLibsProjectOnly/jni/arm64-v8a/libreactnative.so
      - /Users/torrrrzz/.gradle/caches/8.10.2/transforms/a86708618e37ae0e0a5c88cb1b2db70c/transformed/react-android-0.76.1-debug/jni/arm64-v8a/libreactnative.so
     If you are using jniLibs and CMake IMPORTED targets, see
     https://developer.android.com/r/tools/jniLibs-vs-imported-targets

This PR makes sure that libreactnative.so is excluded in the react-native-vision-camera dependency.

Cheers.

Related issues

Fixes #3270

Copy link

vercel bot commented Oct 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-vision-camera ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2024 2:40pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🔧 2 files found with path 'lib/arm64-v8a/libreactnative.so' from inputs:
1 participant