当FileWriter file = new FileWriter(' /data/data/com.myapp.app/files/locationservices.json', true/*append*/);返回错误时:
/data/data/com.myapp.app/files/locationservices.json (没有这样的文件或目录)
如何确切地知道为什么它没有创建文件?
发布于 2018-11-16 10:12:18
试试这个
File file = new File(uri);
file.mkdirs()
FileWriter fileWriter = new FileWriter(file , true)https://stackoverflow.com/questions/53335385
复制相似问题