* What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction
> 2 files found with path 'lib/arm64-v8a/libc++_shared.so' from inputs:
升级Android版本后rebuild project 出现 2 files found with path 'lib/arm64-v8a/libc++_shared.so' from inputs...-react native 错误,后面 在build.gradle(app)中添加 下面内容rebuild project通过
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"
}