Task :app:transformNativeLibsWithMergeJniLibsForDebug FAILED In React Native

By React Native Debugger

Image for post
Image for post
$ cd android$ gradlew clean$ cd ..
$ npx react-native run-android
android {
...
packagingOptions {
// file name depend on your error
pickFirst 'lib/x86/libc++_shared.so'
pickFirst 'lib/x86_64/libc++_shared.so'
pickFirst 'lib/arm64-v8a/libc++_shared.so'
pickFirst 'lib/armeabi-v7a/libc++_shared.so'
}
}

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store