美文网首页
More than one file was found wit

More than one file was found wit

作者: sunny635533 | 来源:发表于2021-02-06 11:05 被阅读0次

在android stuido添加mobile-ffmpeg库报如下的错误,
More than one file was found with OS independent path 'lib/arm64-v8a/libc++_shared.so'

解决方法是在主项目的build.gradle的 android大括号里添加如下:
android{
....
packagingOptions {
pickFirst 'lib/x86/libc++_shared.so'
pickFirst 'lib/arm64-v8a/libc++_shared.so'
pickFirst 'lib/armeabi-v7a/libc++_shared.so'
pickFirst 'lib/x86_64/libc++_shared.so'
}
}
就行了!

相关文章

网友评论

      本文标题:More than one file was found wit

      本文链接:https://www.haomeiwen.com/subject/heontltx.html