NancyAndroid
NancyAndroid
Same error if anyone knows the solution than let me know .
Same issue is in my app I am using compile ('com.mapbox.mapboxsdk:mapbox-android-sdk:4.2.0-beta.1@aar'){ transitive=true } compile ('com.mapbox.mapboxsdk:mapbox-android-services:1.2.1@aar'){ transitive=true } still app crash and the error is java.lang.NullPointerException: Attempt to invoke virtual method...
compile ('com.mapbox.mapboxsdk:mapbox-android-sdk:4.2.0-beta.1@aar'){ transitive=true } compile ('com.mapbox.mapboxsdk:mapbox-android-services:1.2.1@aar'){ transitive=true } still app crash and the error is java.lang.NullPointerException: Attempt to invoke virtual method 'void com.mapbox.mapboxsdk.maps.NativeMapView.createSurface(android.view.Surface)' on a null object reference at com.mapbox.mapboxsdk.maps.MapView$SurfaceCallback.surfaceCreated(MapView.java:1410)
@tobrun I have updated the code still it crashes when app is open and device is idle or app is in background we are using others app then device idle...
@tobrun Here is the dependencies which I am using compile ('com.mapbox.mapboxsdk:mapbox-android-sdk:5.1.3@aar'){ transitive=true }
compile ('com.mapbox.mapboxsdk:mapbox-android-sdk:4.2.0-beta.1@aar'){ transitive=true } compile ('com.mapbox.mapboxsdk:mapbox-android-services:1.2.1@aar'){ transitive=true } still app crash and the error is java.lang.NullPointerException: Attempt to invoke virtual method 'void com.mapbox.mapboxsdk.maps.NativeMapView.createSurface(android.view.Surface)' on a null object reference at com.mapbox.mapboxsdk.maps.MapView$SurfaceCallback.surfaceCreated(MapView.java:1410)
Same issue is with me using latest sdk v5.1.3 I am using in activity So any update Here is my log: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.mapbox.mapboxsdk.maps.NativeMapView.createSurface(android.view.Surface)' on...
@GianhTran any update how you resolve this issue.
I have same issue please let me know how to resolve. I am using com.mapbox.mapboxsdk:mapbox-android-sdk:5.1.3@aar here is my log FATAL EXCEPTION: main java.lang.Error: eglChooseConfig() failed at com.mapbox.mapboxsdk.maps.NativeMapView.nativeInitializeDisplay(Native Method) at com.mapbox.mapboxsdk.maps.NativeMapView.initializeDisplay(NativeMapView.java:130)...
Please let me know how to solve Same issue Here is my log FATAL EXCEPTION: main java.lang.Error: eglChooseConfig() failed at com.mapbox.mapboxsdk.maps.NativeMapView.nativeInitializeDisplay(Native Method) at com.mapbox.mapboxsdk.maps.NativeMapView.initializeDisplay(NativeMapView.java:130) at com.mapbox.mapboxsdk.maps.MapView.initialiseDrawingSurface(MapView.java:199) at com.mapbox.mapboxsdk.maps.MapView.onCreate(MapView.java:194) at com.orbisalert.Activity.MapBoxActivity.onCreate(MapBoxActivity.java:101)...