question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NavigationManager.StartNavigation return INVALID_PARAMETERS

See original GitHub issue

I’m using HereMaps Sdk for navigation and route calculations. When I try to start a navigation or simulation I get error from INVALID_PARAMETERS…

I can not identify the problem to be able to solve. I already have my routes configured and my map added to the NavigationManager

I am using the example of the own nokia in their github as base. https://github.com/heremaps/here-android-sdk-examples/blob/master/turn-by-turn-navigation/app/src/main/AndroidManifest.xml

//OnEngineInitListener...    
NavigationManager.Instance.SetMap(mapFragment.Map);
NavigationManager.Instance.SetMapUpdateMode(NavigationManager.MapUpdateMode.Position);
var nresult = NavigationManager.Instance.StartTracking();
//nresult return only INVALID_PARAMETERS and navigation dont start

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
starandcommented, May 28, 2019

We do not officially support Xamarin. There are the following cases when this error can happen:

  1. null passed as route.
  2. In case you use RouteOptions.TransportMode.PUBLIC_TRANSPORT
  3. route type is UMRoute
  4. in other cases - Navigation engine is complex feature (e.g. Map was not init, incorrect voice package and so on).
0reactions
joseBarretocommented, May 29, 2019

Sorted out! The device he was using was a Samsung Galaxy S7 with Root and Room customized for android 8.1 After removing the root and returning to the original build the problem has been resolved. I tested it on other devices with android 6,7 and 9. It is also working, as long as root is disabled.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Blazor NavigationManager Return "/?" - Stack Overflow
Now, I create a login page (My index page and URL is https://5000) and I check user information. I can't any authorization. If...
Read more >
ASP.NET Core Blazor routing and navigation - Microsoft Learn
Returns a URI constructed by updating NavigationManager.Uri with a single parameter added, updated, or removed. For more information, see the ...
Read more >
HERE Android SDK Premium Edition V3.6 Developer's Guide
Important: Some SDK features may return errors if the map data is more than ... Navigation Mode - startNavigation(Route) - This mode takes...
Read more >
Turn-by-Turn Navigation for Walking and Driving
startNavigation (route);. Note: During a navigation session it is recommended that you handle gestures by calling NavigationManager.setMapUpdateMode ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found