您好,我使用来自电容器的convertFileSrc来获取斑点的大小,以便将视频上传到我的应用程序中。它在iOs上运行良好,但在android上就不行了。blob大小始终为0,因为文件路径似乎是错误的。如果有人已经遇到这个问题,我不知道如何解决这个问题。
const test = Capacitor.convertFileSrc(f.fullPath);Url:
http://localhost/_capacitor_file_/storage/emulated/0/Download/video.mp4 error 404谢谢
发布于 2021-06-02 22:32:57
在Android Manifest.xml的应用程序标签中添加android:requestLegacyExternalStorage="true"为我解决了这个问题。
https://stackoverflow.com/questions/67627601
复制相似问题