laptop and a wrench

Error

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

Última publicación: November 27, 2017 ArcGIS Runtime SDK
Número de ID del error BUG-000108624
EnviadoOctober 9, 2017
Última modificaciónJune 5, 2024
Relacionado conArcGIS Runtime SDK
Versión encontrada10.2.9
Sistema operativoAndroid
Versión de sistema operativo7.0x
EstadoNon-Reproducible

Información adicional

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

Solución alternativa

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

Pasos para reproducir

ID del error: BUG-000108624

Software:

  • ArcGIS Runtime SDK

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga