把数据写在一个txt里,用device file explorer的/data/data/包名里能看到,为什么手机上没有这个文件?
手机上找不到这个log.txt
代码用的是这种方式
FileOutputStream outStream = this.openFileOutput(path, Context.MODE_APPEND);
outStream.write(data.getBytes());
FileOutputStream outStream = this.openFileOutput(path, Context.MODE_APPEND);
outStream.write(data.getBytes());
手机要获得root权限才可以查看data文件