Esri/arcgis-maps-sdk-dotnet-samples

This service does not support the Map capability on android xamarin

tatsondev opened this issue · 3 comments

ArcGISMapImageLayer baseLayer;
baseLayer = new ArcGISMapImageLayer(new Uri(EsriServerUrl));
await baseLayer.LoadAsync();

On Load of baseLayer, I am getting an exception (This service does not support the Map capability).
I am using Esri.ArcGISRuntime.Xamarin.Android v 100.7 package.
ArcGIS Service version v 10.81.

Hi,

Are you having trouble with a specific sample in this repo or are you experiencing difficulty implementing this functionality in your own application?

Thanks

@mbranscomb thanks for replying. I am having difficulty implementing my own application. If I use Esri.ArcGISRuntime.Xamarin.Android v 100.5 package seems to be working fine but when I updated it to v 100.7 then I am facing the above issue. (This service does not support the Map capability). Also, it seems to be working fine on MapServer URL(https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/MapServer) but breaks on FeatureServer URL(https://sampleserver6.arcgisonline.com/arcgis/rest/services/Military/FeatureServer). With the same error message.

Screenshot 2021-03-03 at 9 18 40 AM