laptop and a wrench

漏洞

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

上次发布: November 27, 2017 ArcGIS Runtime SDK
漏洞 ID 编号 BUG-000108624
已提交October 9, 2017
上次修改时间June 5, 2024
适用范围ArcGIS Runtime SDK
找到的版本10.2.9
操作系统Android
操作系统版本7.0x
状态Non-Reproducible

附加信息

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

解决办法

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

重现步骤

漏洞 ID: BUG-000108624

软件:

  • ArcGIS Runtime SDK

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项