cannot get vfs File Follow Answered Bing Created May 04, 2022 14:24 Try to get the vfs file val file = VfsUtil.findFileByIoFile(File("README.md"), true) But the file was always null.
Please always give some context. What are you trying to achieve? Where do you expect to find the file? Right now, it seems you try to locate file "README.md" in root of filesystem of your machine.
Thanks. The problem is the path. May the absolute path I tried was wrong which misled me.