wonday / react-native-pdf

A <Pdf /> component for react-native
MIT License
1.58k stars 540 forks source link

More than one file was found with OS independent path 'lib/x86/libc++_shared.so' #547

Open chahalrohit opened 3 years ago

chahalrohit commented 3 years ago

What react-native version are you using?

What react-native-pdf version are you using?

What platform does your issue occur on? (android/ios/both)

Describe your issue as precisely as possible : 1) Steps to reproduce the issue or to explain in which case you get the issue 2) Interesting logs

Join a screenshot or video of the problem on the simulator or device?

Show us the code you are using?

chahalrohit commented 3 years ago

"react": "16.13.1", "react-native": "0.63.4", "react-native-pdf": "^6.3.0", on android not tested in ios

bazinga012 commented 3 years ago

In your android/app/build.gradle put

packagingOptions {
    pickFirst 'lib/*/libc++_shared.so'
}
sgade commented 3 years ago

Also see details here.