Using this code
new File(this.getExternalFilesDir("APP NAME").getPath()).exists())
or
this.getExternalFilesDir("APP NAME").getPath()).exists()
always returns true although I'm sure the file does not exist. What is the problem here?
My question is different from this one Why does 'File.exists' return true, even though 'Files.exists' in the NIO 'Files' class returns false because android file system doesn't depend on nio.files class.