Closed JWiseCoder closed 1 year ago
@JWiseCoder I was facing the same issue after upgrading to NativeScript 8 using FFMPEG.
The solution is to add these lines to your App_Resources/Android/app.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'
}
}
More information about this issue can be found here.
@insytes Thanks. I'm already doing that exact thing. It works, but I'd rather not have to put that in my app.gradle forever. I think @nativescript/pdf should update the pdf library it's using so there isn't this conflict with the libc++.
@insytes Thanks. I'm already doing that exact thing. It works, but I'd rather not have to put that in my app.gradle forever. I think @nativescript/pdf should update the pdf library it's using so there isn't this conflict with the libc++.
@JWiseCoder of course it's always nice when a third party dependency is maintained and that can be an option... not so much luck with ffmpeg :)
We recently upgraded our app to NS 8.5, and we found that our app fails to build on Android.
This is apparently being caused by the 'com.github.TalbotGooday:AndroidPdfViewer:3.1.0-beta.3' include.
What can be done to fix this?