You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m trying to build Detox tests for ReactNative project for android and it’s throwing this error
> Task :react-native-pdf:transformNativeLibsWithMergeJniLibsForDebugAndroidTest FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-pdf:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'.
> More than one file was found with OS independent path 'lib/x86/libc++_shared.so'
After doing some research adding this block of code in app/build.gradle should’ve helped
android {
packagingOptions {
pickFirst '/libjsc.so'
pickFirst '/libc++_shared.so'
}
}
However for some reason, gradlew assembleAndroidTest is not using the packagingOptions to run its build which then results in More than one file was found with OS independent path 'lib/x86/libc++_shared.so error.
Anyone knows a workaround for this?
The text was updated successfully, but these errors were encountered:
We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the detox tag.
Hi everyone,
I’m trying to build Detox tests for ReactNative project for android and it’s throwing this error
android {
packagingOptions {
pickFirst '/libjsc.so'
pickFirst '/libc++_shared.so'
}
}
However for some reason, gradlew assembleAndroidTest is not using the packagingOptions to run its build which then results in
More than one file was found with OS independent path 'lib/x86/libc++_shared.so error.
Anyone knows a workaround for this?
The text was updated successfully, but these errors were encountered: