I had the idea to use this sample with a mobile map.
https://developers.arcgis.com/android/latest/java/sample-code/navigate-route/
I get to the part where I generate a route and then get a strange error that I don't understand.
java.util.concurrent.ExecutionException: com.esri.arcgisruntime.ArcGISRuntimeException: Stop "Unnamed (Index = 0)" is unlocated.
Stop "Unnamed (Index = 1)" is unlocated.
Stop "Unnamed (Index = 2)" is unlocated
I have no idea what they mean by unlocated. I think they are located just fine. I gave exact GPS coordinates for these three stops.
So is having a "locator" that can have some pretty name for all these location mandatory?
What if I don't care if they have pretty names?
In create the dataset tutorial, I don't think it even mentions a locator, much less say that they are mandatory for directions.
https://pro.arcgis.com/en/pro-app/help/analysis/networks/how-to-create-a-usable-network-dataset.htm