laptop and a wrench

Bogue

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

Dernière publication: November 27, 2017 ArcGIS Runtime SDK
Numéro d’ID de bogue BUG-000108624
EnvoiOctober 9, 2017
Dernière modificationJune 5, 2024
S’applique àArcGIS Runtime SDK
Version trouvée10.2.9
Système d’exploitationAndroid
Version du système d’exploitation7.0x
StatutNon-Reproducible

Informations supplémentaires

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

Solution de contournement

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();}

Étapes pour reproduire

ID de bogue: BUG-000108624

Logiciel:

  • ArcGIS Runtime SDK

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement