Recently Crashlytics has reported a crash from a HTC One A9 Android 7.0 device for an app that I'm working on.
Fatal Exception: java.lang.UnsatisfiedLinkError nativeLibraryDirectories=[/data/app/com.app.test-1/lib/arm64, /system/lib64, /vendor/lib64]]] couldn't find lib.so I looked everywhere specially similar questions but could not find a proper solution to my case because the app supports 64 bit version of the native library too. (See cmake config below)
This is the first time that someone with this device has installed the app and I did not see any linkage error on any other devices before.
I'm actually not sure if it is looking for the native-lib in the mentioned paths in the posted error? If that's the case, why it does't look for the lib in the lib/arm64-v8a path based on my abiFilters?
Here is my cmake config inside the app gradle:
cmake { abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64" } How can this issue be solved?