Whenever i launched navigation activity my app crashed with this log.
E/libc++abi: terminating with uncaught exception of type jni::PendingJavaException
--------- beginning of crash
A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 27977 (carpooltoschool)
debuggerd: handling request: pid=27977 uid=10237 gid=10237 tid=27977
I'm getting a similar error following this tutorial
same issue here. Any solution?
Me too! Anybody has a clue?
Made it work by:
compile('com.mapbox.mapboxsdk:mapbox-android-sdk:5.1.4@aar') { transitive=true }
compile 'com.mapbox.mapboxsdk:mapbox-android-navigation:0.6.3'
compile ('com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.6.1') {
exclude group: 'android.arch.core'
transitive = true
}
Thank you, @konskons5 it worked for me!
I'd like to use 0.7.0 though. Any solution how to make it work?
using com.mapbox.mapboxsdk:mapbox-android-sdk:5.2.0@aar should work with 0.7.0
I get following errors:
Error:Failed to resolve: com.mapbox.mapboxsdk:mapbox-java-services-directions:3.0.0-SNAPSHOT
Error:Failed to resolve: com.mapbox.mapboxsdk:mapbox-java-services-turf:3.0.0-SNAPSHOT
:/
Have you added this line to resolve SNAPSHOT dependencies?
I forgot! Thank you so much!!
@tobrun I've also got this issue with the following gradle dependencies:
implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:5.2.0@aar'
implementation 'com.mapbox.mapboxsdk:mapbox-android-services:2.2.9'
implementation 'com.mapbox.mapboxsdk:mapbox-android-navigation:0.7.0@aar'
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-traffic:0.3.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-locationlayer:0.2.0'
implementation ('com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.7.0@aar') {
transitive = true
}
You should also know that I'm extending the MapView class but am calling all appropriate lifecycle methods on it already. The map appears to render it's beige FrameLayout but then crashes
Update:
It seems like this crash is isolated to the traffic layer plugin - when I remove it, the map renders perfectly fine.
Feel free to open if this is still found with > 0.7.1
@danesfeder @tobrun I am getting same error
My added libraries ::
implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:6.4.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-locationlayer:0.7.1'
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-building:0.1.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-navigation:0.18.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-places:0.2.1'
implementation ('com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.18.0') {
transitive = true
}
I'm getting the same error. Mapbox has just been through major updates and the advice here doesn't quite work for me (maybe it needs some modifications I don't know how to do.
Anyway to solve this now?
I'm only using these dependencies at the moment:
implementation 'com.mapbox.mapboxsdk:mapbox-android-sdk:7.2.0'
implementation 'com.mapbox.mapboxsdk:mapbox-android-plugin-locationlayer:0.5.0'
I am getting this error too.
I am getting this error too.
@danielnogueiradti @paulsUsername would you be able to create a new ticket and add the stacktrace and the underlying used maps and navigation versions? Thank you for reaching out
I tried the same method, but startup is failing.!? what should I do.
Most helpful comment
I'm getting a similar error following this tutorial