-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoClassDefFoundError for BindingContextFactory in MapboxDirections.java #908
Comments
@danesfeder I think this is related to a ProGuard setting that we cannot include in this project (because it's a pure Java project) but that @tobrun recently added to the Maps SDK with mapbox/mapbox-gl-native#13103. Could you try with a nav build including that ProGuard rule, or not using ProGuard at all? |
@zugaldia ah okay thank you - I'll give that a shot! |
Hmm it looks like we are including this already https://github.com/mapbox/mapbox-navigation-android/blob/master/libandroid-navigation/proguard-consumer.pro#L13 |
@zugaldia @danesfeder the The problem here is that we're using a class ( We should ensure that we use a logger that's available in Android. I'll cut a PR using the Java BTW this is duplicate of #852 so I'm going to go ahead and close here. Thanks for flagging! |
@Guardiola31337 I agree that it is very easy to get rid of |
@danesfeder @Guardiola31337 |
Seeing this in crash logs, it seems there's some sort of issue resolving the
BindingContextFactory
.When navigating to
MapboxDirections.java
in the Navigation SDK codebase I see:@osana @zugaldia could this be some sort of dependency conflict in the navigation repo?
The text was updated successfully, but these errors were encountered: