flutter_downloader
flutter_downloader copied to clipboard
Failed to find configured root that contains /data/data/....
I am getting Failed to find configured root that contains , when trying to open a downloaded file.
i am using the same given example.
+1
same issue on Android, these works for me:
provider_paths.xml:
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="http://schemas.android.com/apk/res/android">
<root-path
name="root"
path="." />
</paths>
@qq326646683 thanks for the answer. It worked for me.
For anyone else, who like me didn't know where to put that file, it goes to "android\app\src\main\res\xml\provider_paths.xml"; It's described in the manifest.xml.
It worked fine. Thanks a lot @qq326646683
I am facing the same issue. I tried above solution it works but it closes the file just after opening it.
Reference in
This works, thanks 👍