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
{{ message }}
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
We're seeing crashes that appear to be related to x86 issues.
Stacktrace:
java.lang.UnsatisfiedLinkError: 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__)
FATAL EXCEPTION: main
Process: com.crash.mapboxcrash, PID: 7496
java.lang.UnsatisfiedLinkError: 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__)
at com.mapbox.mapboxsdk.net.NativeConnectivityListener.initialize(Native Method)
at com.mapbox.mapboxsdk.net.NativeConnectivityListener.<init>(NativeConnectivityListener.java:27)
at com.mapbox.mapboxsdk.net.ConnectivityReceiver.instance(ConnectivityReceiver.java:43)
at com.mapbox.mapboxsdk.Mapbox.getInstance(Mapbox.java:67)
at com.crash.mapboxcrash.MainActivity.onCreate(MainActivity.kt:14)
at android.app.Activity.performCreate(Activity.java:6975)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1213)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2770)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)
at android.app.ActivityThread.-wrap11(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1593)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6541)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
However, explicitly specifying the following configuration does work (note: we can't do this for production, so the above comment's solution is not viable in our case)
defaultConfig {
...
ndk {
abiFilters "x86"
}
}
We've tested this against the following versions: com.mapbox.mapboxsdk:mapbox-android-sdk:9.1.0 com.mapbox.mapboxsdk:mapbox-android-sdk:9.0.0
We've had no issues with our x86 emulators when running locally so we're assuming this is some form of odd device configuration issue.
The text was updated successfully, but these errors were encountered:
Thank you for reaching out and providing a lot of information to help reproduce. This indeed looks like a duplicate of #111, prioritizing this to be investigated in #111 (comment). Thanks again for the report.
We're seeing crashes that appear to be related to x86 issues.
Stacktrace:
Gradle config / Mapbox Version:
Currently, we're only able to replicate using Firebase Test Lab. To replicate the issue:
Mapbox.getInstance(this, MAPBOX_TOKEN)
in MainActivityWe were able to isolate the issue based on this comment: mapbox/mapbox-gl-native#14428 (comment)
The proposed solution of adding this did not work:
However, explicitly specifying the following configuration does work (note: we can't do this for production, so the above comment's solution is not viable in our case)
We've tested this against the following versions:
com.mapbox.mapboxsdk:mapbox-android-sdk:9.1.0
com.mapbox.mapboxsdk:mapbox-android-sdk:9.0.0
We've had no issues with our x86 emulators when running locally so we're assuming this is some form of odd device configuration issue.
The text was updated successfully, but these errors were encountered: