More than one file was found wit

2021-02-06  本文已影响0人  sunny635533

在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'
}
}
就行了!

上一篇 下一篇

猜你喜欢

热点阅读