Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

"Application has stopped" error while initializing MapboxNavigation #1

Description

@victorgilalejandria

I'm initializing the MapboxNavigation class during the OnCreate method and after the line gets executed android is returning me this message. The thing is, the navigation is getting created correctly and everything works fine after that but the Application output doesn't return any message or trace related and I don't know how to fix this issue.

This is the related code, JIC...

` MapboxNavigation navigation;
NavigationMapRoute navigationMapRoute;

    protected override void OnCreate(Bundle savedInstanceState)
    {
        base.OnCreate(savedInstanceState);
        SetContentView(Resource.Layout.HomeActivity);

        Initialize(savedInstanceState);

        this.ViewModel.OnLocationChanged += ViewModel_OnLocationChanged;
        this.ViewModel.OnSetDestination += ViewModel_OnSetDestination;

        navigation = new MapboxNavigation(this, Mapbox.AccessToken);
    }

`
Any help would be greatly appreciated...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions