This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 816
Tips
Taner Sener edited this page Apr 3, 2019
·
12 revisions
-
Using another library containing
libc++_shared.so
MobileFFmpeg
packages specified in Android c++ dependency guide includelibc++_shared.so
library. If a second library which also includeslibc++_shared.so
is added as a dependency,gradle
fails withMore than one file was found with OS independent path 'lib/x86/libc++_shared.so'
error message.You can fix this error by adding the following block into your
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' } }
Copyright (c) 2018-2021 MobileFFmpeg