2 files found with path ‘lib/arm64-v8a/libc++_shared.so’ from inputs…-react native

We Are Going To Discuss About 2 files found with path ‘lib/arm64-v8a/libc++_shared.so’ from inputs…-react native. So lets Start this Android Article.

2 files found with path ‘lib/arm64-v8a/libc++_shared.so’ from inputs…-react native

How to solve 2 files found with path ‘lib/arm64-v8a/libc++_shared.so’ from inputs…-react native

add this in your node_module/ffmpeg-kit-react-native/android/build.gradle
android{ packagingOptions { pickFirst 'lib/x86/libc++_shared.so' pickFirst 'lib/x86_64/libc++_shared.so' pickFirst 'lib/armeabi-v7a/libc++_shared.so' pickFirst 'lib/arm64-v8a/libc++_shared.so' } rootProject.ext.ffmpegKitPackage = "video" }
ffmpeg-kit-react-native has already talked about this error here. https://github.com/tanersener/ffmpeg-kit/wiki/Tips#2-depending-another-android-library-containing-libc_sharedso

2 files found with path ‘lib/arm64-v8a/libc++_shared.so’ from inputs…-react native

add this in your node_module/ffmpeg-kit-react-native/android/build.gradle
android{ packagingOptions { pickFirst 'lib/x86/libc++_shared.so' pickFirst 'lib/x86_64/libc++_shared.so' pickFirst 'lib/armeabi-v7a/libc++_shared.so' pickFirst 'lib/arm64-v8a/libc++_shared.so' } rootProject.ext.ffmpegKitPackage = "video" }
ffmpeg-kit-react-native has already talked about this error here. https://github.com/tanersener/ffmpeg-kit/wiki/Tips#2-depending-another-android-library-containing-libc_sharedso

Solution 1

add this in your node_module/ffmpeg-kit-react-native/android/build.gradle

android{
  packagingOptions {
      pickFirst 'lib/x86/libc++_shared.so'
      pickFirst 'lib/x86_64/libc++_shared.so'
      pickFirst 'lib/armeabi-v7a/libc++_shared.so'
      pickFirst 'lib/arm64-v8a/libc++_shared.so'
  }
  rootProject.ext.ffmpegKitPackage = "video"
}

ffmpeg-kit-react-native has already talked about this error here. https://github.com/tanersener/ffmpeg-kit/wiki/Tips#2-depending-another-android-library-containing-libc_sharedso

Original Author UHS Of This Content

Conclusion

So This is all About This Tutorial. Hope This Tutorial Helped You. Thank You.

Also Read,

ittutorial team

I am an Information Technology Engineer. I have Completed my MCA And I have 4 Year Plus Experience, I am a web developer with knowledge of multiple back-end platforms Like PHP, Node.js, Python and frontend JavaScript frameworks Like Angular, React, and Vue.

Leave a Comment