-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Many Fatal Exception: java.lang.UnsatisfiedLinkError #14428
Comments
This could potentially come from mismatching dependency versions.
Would you be able to test with this setup? |
I will try it but before to go live it will take 2 weeks |
Hello @tobrun I use your configuration and now I have this error
|
Hello I still have this error it is not satisfying at all |
Are you using any kind of abi split configuration? which packaging format are you using? Are you using any other native libraries yourself or through dependencies? How many percent of users are impacted? note that you are able to replace the native library loader by any your own choice with |
I don't think I am using any abi split configuration. Do you have more infos ? I am using app bundles. I have other native libs like bugsnag for example. Around 1% of my user have this error, this is the most common error in my app and it is why I really need to fix it. |
@ben-j69
You can see in APK analyze: But some device will find Mapbox class in wrong path, example it find in folder "armeabi", because this folder not exists so UnsatisfiedLinkError will be throw. Have to solve?
by add filter to build.gradle in app module:
in some case you also have to add this line to file gradle.propertise :
Notes: I see that some device x86 only run well when set to:
so I think we should built multi apk abi |
On circle CI, updating from mapbox 8.4.0 to version 9.0.0 I had to add
to make it work, thanks. |
I confirm the solution given by @bc67da8d works with this config : Only needed to add in app.gradle :
My source code is from Nativescript app, with the following conf :
|
I am getting the same error with No additional dependencies are used for mapbox. Previous version worked on 8.0.1 |
**Android versions:**6.0.1
Device models: Nexus 5X
Mapbox SDK versions:
implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:7.2.0'
implementation 'com.mapbox.mapboxsdk:mapbox-sdk-services:4.5.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v7:0.5.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-navigation:0.33.2'
implementation 'com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.33.2'
I have just added crashlytics to my app and I got this new error from the sdk :
No implementation found for void com.mapbox.mapboxsdk.net.NativeConnectivityListener.initialize() (tried Java_com_mapbox_mapboxsdk_net_NativeConnectivityListener_initialize and Java_com_mapbox_mapboxsdk_net_NativeConnectivityListener_initialize__)
com.mapbox.mapboxsdk.net.NativeConnectivityListener.initialize (NativeConnectivityListener.java) com.mapbox.mapboxsdk.net.NativeConnectivityListener. (NativeConnectivityListener.java:27) com.mapbox.mapboxsdk.net.ConnectivityReceiver.instance (ConnectivityReceiver.java:43) com.mapbox.mapboxsdk.Mapbox.getInstance (Mapbox.java:60)
I have several crashes each day on my app and it is affecting my user, we need a solution please.
The text was updated successfully, but these errors were encountered: