I get this error while accessing from local database:
E/RoutingActivity: com.esri.arcgisruntime.ArcGISRuntimeException: Cannot call this method in this context
How to create offline route in ArcGIS sdk version 100.2.1? All examples are given in SDK version 10.2.9.