Android build failed with RN 0.63.1
What react-native version are you using? 0.63.1
What react-native-pdf version are you using? 6.2.0
What platform does your issue occur on? (android/ios/both) android
Describe your issue as precisely as possible :
I am trying to use react-native-pdf on a new instance npx react-native init MyTestApp and run android, but the error is Task: app: mergeDebugNativeLibs FAILED, without 'react-native-pdf' works fine.
Join a screenshot or video of the problem on the simulator or device?

yes same happening to me. I tried to link those dependency manually still getting the error while running on android . then i have to manually unlink and delete all the dependency for getting rid those build error still waiting to get fixed the error. @dariuszsobkowicz @wonday side note i am using react-native 0.63.2
I solved the issue by these following steps If you use RN 0.59.0 and above, please add following to your android/app/build.gradle**
android { packagingOptions { pickFirst 'lib/x86/libc++_shared.so' pickFirst 'lib/x86_64/libjsc.so' pickFirst 'lib/arm64-v8a/libjsc.so' pickFirst 'lib/arm64-v8a/libc++_shared.so' pickFirst 'lib/x86_64/libc++_shared.so' pickFirst 'lib/armeabi-v7a/libc++_shared.so' } }
If you are facing any further issue please report or close this issue..
I solved the issue by these following steps If you use RN 0.59.0 and above, please add following to your android/app/build.gradle** android { packagingOptions { pickFirst 'lib/x86/libc++_shared.so' pickFirst 'lib/x86_64/libjsc.so' pickFirst 'lib/arm64-v8a/libjsc.so' pickFirst 'lib/arm64-v8a/libc++_shared.so' pickFirst 'lib/x86_64/libc++_shared.so' pickFirst 'lib/armeabi-v7a/libc++_shared.so' } }
If you are facing any further issue please report or close this issue..
This work to my.
This is not failing to me anymore. Using React Native 80.1