JNI DETECTED ERROR IN APPLICATION: can't call void com.mapbox.mapboxsdk.maps.NativeMapView.onInvalidate() on null object

885 Views Asked by At

I have implemented mapbox as they guided in their documentation. https://www.mapbox.com/android-docs/map-sdk/overview/

My implementation is on a fragment and everything is working fine in all Android versions except Android Oreo platform. Only in Oreo, there occurs a FATAL crash with an error as shown below:

 JNI DETECTED ERROR IN APPLICATION: can't call void com.mapbox.mapboxsdk.maps.NativeMapView.onInvalidate() on null object

I have contacted Mapbox support several times but no response. My Mapbox SDK version is 5.1.3

0

There are 0 best solutions below