Reputation: 95
I am getting this error while installing application.
More than one file was found with OS independent path 'lib/x86/libc++_shared.so'
Upvotes: 3
Views: 3652
Reputation: 815
Add below to your app level build.gradle file in side the android tag
android{
........
packagingOptions {
pickFirst '**/armeabi-v7a/libc++_shared.so'
pickFirst '**/x86/libc++_shared.so'
pickFirst '**/arm64-v8a/libc++_shared.so'
pickFirst '**/x86_64/libc++_shared.so'
pickFirst '**/x86/libjsc.so'
pickFirst '**/armeabi-v7a/libjsc.so'
}
}
Upvotes: 9