flutter_downloader icon indicating copy to clipboard operation
flutter_downloader copied to clipboard

Failed to find configured root that contains /data/data/....

Open palsanjay12 opened this issue 5 years ago • 6 comments

I am getting Failed to find configured root that contains , when trying to open a downloaded file.

i am using the same given example.

palsanjay12 avatar May 10 '20 06:05 palsanjay12

+1

liuchuancong avatar Jun 20 '20 05:06 liuchuancong

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 avatar Sep 03 '20 04:09 qq326646683

@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.

Andrius0124 avatar Dec 31 '21 14:12 Andrius0124

It worked fine. Thanks a lot @qq326646683

Uvais-Mohammad avatar Sep 14 '23 05:09 Uvais-Mohammad

I am facing the same issue. I tried above solution it works but it closes the file just after opening it.

shajedul-bdfare avatar Sep 14 '23 20:09 shajedul-bdfare

Reference in

This works, thanks 👍

manthri-mohan-sai avatar Aug 03 '24 08:08 manthri-mohan-sai