简体   繁体   English

导出房间数据库文件,将文件保存在文件中并在互联网可用时发送

[英]Export Room Database File, save the file in files and send when internet available

The issue i am having is that, file gets created, i can see in file manager too but when i access it to send it to server, it says "Failed to find configured root that contains /content:/media/external/downloads/153"我遇到的问题是,文件已创建,我也可以在文件管理器中看到,但是当我访问它以将其发送到服务器时,它显示“无法找到包含 /content:/media/external/downloads/ 的已配置根目录” 153"

I am badly stuck here我被严重困在这里

You didn't share your code to clarify the issue.你没有分享你的代码来澄清这个问题。 In general, I think that the problem of your work is in the way of reading the relevant file, which can probably be solved by converting the uri to file path.总的来说,我认为你工作的问题是在读取相关文件的方式上,大概可以通过将uri转换为文件路径来解决。

Anyway, maybe you can access the created file using SimpleStorage library.无论如何,也许您可以使用SimpleStorage库访问创建的文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM