Scandit / datacapture-android-samples

27 stars 22 forks source link

Crash: UnsatisfiedLinkError: dlopen failed: library "libbar.so" not found #13

Closed mtcn closed 1 year ago

mtcn commented 1 year ago

Issue Description:

In my Android app, several users have reported encountering a frequent crash, leading to an "UnsatisfiedLinkError." Despite numerous attempts, I have been unable to reproduce the issue myself. The error seems to be affecting a wide range of devices and Android OS versions. After inspecting the app's "lib" folder, I confirmed that "libbar.so" is present in all required ABIs, including x86, x86_64, arm64-v8a, and armeabi-v7a.

Steps to Reproduce:

Unfortunately, the crash cannot be reproduced consistently on any particular device or OS version during my testing.

Libraries and Versions:

We are using the Scandit Data Capture SDK in our app, with the following dependencies:

implementation ("com.scandit.datacapture:core:6.17.1") implementation "com.scandit.datacapture:barcode:6.17.1" implementation "com.scandit.datacapture:parser:6.17.1"

Additional Information:

Screenshot 2023-07-19 at 22 31 25

ScanditSupport commented 1 year ago

Hi @mtcn,

As the solutions to this problem heavily depend on the individual integrations and may benefit from follow-up conversations, it could be confusing to some developers should these be posted here. I can see you have already filed a Support ticket and we will continue the conversation there.