我正在使用Android的assets文件夹中的文本文件。我想动态更改该文本文件中的数据。我尝试如下打开该文件:
FileOutputStream fos=this.getAssets().openNonAssetFd("data.txt").createOutputStream();
但是它会生成错误:java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed
。请帮我编辑这个文件。非常感谢。