laptop and a wrench

Bug

KML Layers in ArcGIS Runtime SDK for Android 10.2.9 does not throw FileNotFoundException.

Zuletzt veröffentlicht: November 27, 2017 ArcGIS Runtime SDK
Bug-ID-Nummer BUG-000108624
EingereichtOctober 9, 2017
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS Runtime SDK
Gefunden in Version10.2.9
BetriebssystemAndroid
Betriebssystemversion7.0x
StatusNon-Reproducible

Zusätzliche Informationen

This is resolved in 100.x versions of ArcGIS Runtime.

Workaround

Use the Android core File class to check if the kmlLayer exists or not and then proceed with creating the object of the KmlLayer.File file = new File(filePath);if (file.exists()) {KmlLayer kmlLayer = new KmlLayer(file.getPath());kmlLayer.getRootNodes();Toast.makeText(MainActivity.this, "Layer found", Toast.LENGTH_LONG).show();} else {Toast.makeText(MainActivity.this, "Layer not found", Toast.LENGTH_LONG).show();}

Schritte zur Reproduzierung

Bug-ID: BUG-000108624

Software:

  • ArcGIS Runtime SDK

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln