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