You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a persistent problem that I can't seem to solve, I am using Android SDK 32 and have installed 2 Libraries(com.arthenica:ffmpeg-kit-full and org.jitsi.react:jitsi-meet-sdk) which are in conflict with one another.
When I add these 2 libraries and tried to run it on my device I get the following error message "2 files found with path 'lib/arm64-v8a/libc++_shared.so' from inputs...".
java.lang.Error: FFmpegKit failed to start on brand: google, model: Pixel 3, device: blueline, api level: 32, abis: arm64-v8a armeabi-v7a armeabi, 32bit abis: armeabi-v7a armeabi, 64bit abis: arm64-v8a.
I searched further but couldn't find a solution to my problem.
Is it possible to get both libraries working without issues?
Edited:
Library 1:
org.jitsi.react:jitsi-meet-sdk:3.10.2
Library 2:
com.arthenica:ffmpeg-kit-full:4.5.1
Full error code:
2022-05-15 21:32:12.171 21901-21901/com.example.chat E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.chat, PID: 21901
java.lang.Error: FFmpegKit failed to start on brand: google, model: Pixel 3, device: blueline, api level: 32, abis: arm64-v8a armeabi-v7a armeabi, 32bit abis: armeabi-v7a armeabi, 64bit abis: arm64-v8a.
at com.arthenica.ffmpegkit.NativeLoader.loadLibrary(NativeLoader.java:50)
at com.arthenica.ffmpegkit.NativeLoader.loadFFmpegKit(NativeLoader.java:189)
at com.arthenica.ffmpegkit.FFmpegKitConfig.<clinit>(FFmpegKitConfig.java:145)
at com.arthenica.ffmpegkit.FFmpegKitConfig.parseArguments(FFmpegKitConfig.java:1299)
at com.arthenica.ffmpegkit.FFmpegKit.execute(FFmpegKit.java:167)
at com.example.chat.fragments.ChatsView.stopRecording(ChatsView.kt:905)
at com.example.chat.fragments.ChatsView.onViewCreated$lambda-15(ChatsView.kt:394)
at com.example.chat.fragments.ChatsView.$r8$lambda$PYCiw4bHdSth7rKrXRAD_BEqvjw(Unknown Source:0)
at com.example.chat.fragments.ChatsView$$ExternalSyntheticLambda18.onTouch(Unknown Source:2)
at android.view.View.dispatchTouchEvent(View.java:14595)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2801)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2801)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2801)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2801)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2801)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2801)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2801)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2801)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2801)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2801)
at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:498)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1890)
at android.app.Activity.dispatchTouchEvent(Activity.java:4210)
at androidx.appcompat.view.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.java:69)
at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:456)
at android.view.View.dispatchPointerEvent(View.java:14858)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:6446)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:6247)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5725)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5782)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5748)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:5913)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5756)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:5970)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5729)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5782)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5748)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5756)
2022-05-15 21:32:12.171 21901-21901/com.example.chat E/AndroidRuntime: at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5729)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:8696)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:8647)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:8616)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:8819)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:259)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:335)
at android.os.Looper.loopOnce(Looper.java:161)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7870)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1019)
Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__emutls_get_address" referenced by "/data/app/~~dO6dIH_y4KXQH2REhR9rVQ==/com.example.chat-0Or4TTCliszwapw3iei3WA==/base.apk!/lib/arm64-v8a/libffmpegkit.so"...
at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
at java.lang.Runtime.loadLibrary0(Runtime.java:998)
at java.lang.System.loadLibrary(System.java:1656)
at com.arthenica.ffmpegkit.NativeLoader.loadLibrary(NativeLoader.java:48)
... 61 more
The text was updated successfully, but these errors were encountered:
I have a persistent problem that I can't seem to solve, I am using Android SDK 32 and have installed 2 Libraries(
com.arthenica:ffmpeg-kit-full
andorg.jitsi.react:jitsi-meet-sdk
) which are in conflict with one another.When I add these 2 libraries and tried to run it on my device I get the following error message "
2 files found with path 'lib/arm64-v8a/libc++_shared.so' from inputs...
".To solve this problem I applied the following solution: https://github.com/tanersener/ffmpeg-kit/wiki/Tips#2-depending-another-android-library-containing-libc_sharedso.
This seems to work as my project runs succesfully on my device.
But when I am trying to call a ffmpeg command:
I get the following error..
I searched further but couldn't find a solution to my problem.
Is it possible to get both libraries working without issues?
Edited:
Library 1:
org.jitsi.react:jitsi-meet-sdk:3.10.2
Library 2:
com.arthenica:ffmpeg-kit-full:4.5.1
Full error code:
The text was updated successfully, but these errors were encountered: