java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/<card name>/Android/data/<app package>/files/.export/2016-10-06 13-22-33.pdf

Stack Overflow | guillaume-tgl | 2 months ago
  1. 0

    FileProvider error onHuawei devices

    Stack Overflow | 2 months ago | guillaume-tgl
    java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/<card name>/Android/data/<app package>/files/.export/2016-10-06 13-22-33.pdf
  2. 0

    Android getUriForFile IllegalArgumentException

    Stack Overflow | 1 month ago | David
    java.lang.IllegalArgumentException: Failed to find configured root that contains /file/sdcard/PDFViewer.apk
  3. 0

    Failed to find configured root that contains

    Stack Overflow | 3 years ago | t0s
    java.lang.IllegalArgumentException: Failed to find configured root that contains /data/data/com.sample.muzeitest/files/wallpaper0.png
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java.lang.illegalargumentexception(Android)

    Stack Overflow | 3 years ago | user3484436
    java.lang.IllegalArgumentException: Failed to find configured root that contains /mnt/sdcard/Android/data/com.example.mobile_e_commerce/files/Mobile_E-Commerce/wishlist
  6. 0

    how to set FileProvider for file in External Cache dir

    Stack Overflow | 12 months ago | Qi Xingchen
    java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/0/Android/data/com.tizi.quanzi/cache/image/o9xygODHtdP6HXqsuUZghVCsBKTtY4FJgO1MpnmX.jpg

  1. Bardh 2 times, last 6 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Failed to find configured root that contains /storage/<card name>/Android/data/<app package>/files/.export/2016-10-06 13-22-33.pdf

    at android.support.v4.content.FileProvider$SimplePathStrategy.getUriForFile()
  2. Android Support v4
    FileProvider.getUriForFile
    1. android.support.v4.content.FileProvider$SimplePathStrategy.getUriForFile(SourceFile:711)
    2. android.support.v4.content.FileProvider.getUriForFile(SourceFile:400)
    2 frames