![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
File异常
文章平均质量分 92
梦想改变生活
一个没人要的Android 开发
展开
-
Android 将文件压缩成ZIP
Android 将文件压缩成ZIP原创 2020-08-31 17:45:56 · 3468 阅读 · 1 评论 -
OutputStream写文件后异常关机,文件写入失败
FileOutputStream fos = null; File file = new File("/efs/param.txt"); fos = new FileOutputStream(file); fos.write(info.getBytes("UTF-8")); fos.flush(); fos.getFD().sync(); fos.getFD().sync() 同步缓冲区原创 2020-08-31 17:33:59 · 577 阅读 · 0 评论