java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/0/Android/data/my.package.name/files/Pictures/8712561249140-20160902_104505516416962.jpg

Stack Overflow | AlbertoGarrido | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Taking and saving pictures: "IllegalArgumentException: Failed to find configured root that contains"

    Stack Overflow | 6 months ago | AlbertoGarrido
    java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/0/Android/data/my.package.name/files/Pictures/8712561249140-20160902_104505516416962.jpg
  2. 0

    Can't take Image from Camera in android 6.0

    GitHub | 5 months ago | sonvp
    java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/0/Android/data/pl.aprilapps.easyphotopicker.sample/cache/EasyImage/7f92ccdc-1d35-41f8-89e4-84b252ed1a5b-1112704913.jpg
  3. 0

    华为荣耀6在选中图片,点击确定后出现bug

    GitHub | 4 months ago | zhuzhaolin
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=66544, result=-1, data=Intent { (has extras) }} to activity {com.jph.simple/com.jph.simple.SimpleFragmentActivity}: java.lang.reflect.UndeclaredThrowableException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Matching up Storage Directory and File Provider

    Stack Overflow | 2 months ago | Praveen
    java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/0/Android/data/com.tble.brgo/files/JPEG_20161215_214603_485545126.jpg
  6. 0

    Oruxmaps y Nougat

    Google Groups | 4 months ago | Jaume Tugores
    java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/0/vyvalavida/penal.gpx

  1. Bardh 2 times, last 8 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/emulated/0/Android/data/my.package.name/files/Pictures/8712561249140-20160902_104505516416962.jpg

    at android.support.v4.content.FileProvider$SimplePathStrategy.getUriForFile()
  2. Android Support v4
    FileProvider.getUriForFile
    1. android.support.v4.content.FileProvider$SimplePathStrategy.getUriForFile(FileProvider.java:679)
    2. android.support.v4.content.FileProvider.getUriForFile(FileProvider.java:378)
    2 frames
  3. my.package.name
    ReviewDataActivity.onOptionsItemSelected
    1. my.package.name.usecases.reviewdata.ReviewDataActivity.takeAPic(ReviewDataActivity.java:242)
    2. my.package.name.usecases.reviewdata.ReviewDataActivity.onOptionsItemSelected(ReviewDataActivity.java:118)
    2 frames
  4. Android Platform
    Activity.onMenuItemSelected
    1. android.app.Activity.onMenuItemSelected(Activity.java:2885)
    1 frame
  5. Android Support v4
    FragmentActivity.onMenuItemSelected
    1. android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:421)
    1 frame
  6. Android v7
    ActionMenuView$MenuBuilderCallback.onMenuItemSelected
    1. android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:188)
    2. android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:103)
    3. android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:103)
    4. android.support.v7.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:69)
    5. android.support.v7.widget.Toolbar$1.onMenuItemClick(Toolbar.java:202)
    6. android.support.v7.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:761)
    6 frames
  7. android.support.v7
    MenuBuilder.performItemAction
    1. android.support.v7.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:810)
    2. android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:152)
    3. android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:957)
    4. android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:947)
    4 frames
  8. Android v7
    ActionMenuView.invokeItem
    1. android.support.v7.widget.ActionMenuView.invokeItem(ActionMenuView.java:618)
    1 frame
  9. android.support.v7
    ActionMenuItemView.onClick
    1. android.support.v7.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:155)
    1 frame
  10. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:4789)
    2. android.view.View$PerformClick.run(View.java:19881)
    3. android.os.Handler.handleCallback(Handler.java:739)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:135)
    6. android.app.ActivityThread.main(ActivityThread.java:5294)
    6 frames
  11. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  12. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
    2 frames