android.os.FileUriExposedException: file:///storage/emulated/0/Apk%20Apps/%D8%A7%D8%B0%D9_1.7.0.0.apk exposed beyond app through ClipData.Item.getUri()

Stack Overflow | MBH | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Trying to share file with non-english characters in the name gives exception FileUriExposedException

    Stack Overflow | 3 months ago | MBH
    android.os.FileUriExposedException: file:///storage/emulated/0/Apk%20Apps/%D8%A7%D8%B0%D9_1.7.0.0.apk exposed beyond app through ClipData.Item.getUri()
  2. 0

    Camera not working in Nougat devices.

    GitHub | 2 months ago | jubin-successive
    android.os.FileUriExposedException: file:///storage/emulated/0/Pictures/JPEG_20170208115930_1243992149.jpg exposed beyond app through ClipData.Item.getUri()
  3. 0

    Android N下拍照报错

    GitHub | 6 months ago | Tlaster
    android.os.FileUriExposedException: file:///storage/emulated/0/DCIM/IMG_1650562883.jpg exposed beyond app through ClipData.Item.getUri()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FileUriExposedException

    GitHub | 8 months ago | ldemay
    android.os.FileUriExposedException: file:///storage/emulated/0/AppName/AppName%20Pictures/061aafec-0acd-488d-b8b0-c7d5fb8c152a.jpg exposed beyond app through ClipData.Item.getUri()
  6. 0

    Android7.0 打开照相机会崩溃

    GitHub | 3 months ago | HYVincent
    android.os.FileUriExposedException: file:///storage/emulated/0/DCIM/camera/IMG_20170110_201413.jpg exposed beyond app through ClipData.Item.getUri()

    1 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. android.os.FileUriExposedException

      file:///storage/emulated/0/Apk%20Apps/%D8%A7%D8%B0%D9_1.7.0.0.apk exposed beyond app through ClipData.Item.getUri()

      at android.os.StrictMode.onFileUriExposed()
    2. Android Platform
      Activity.startActivityForResult
      1. android.os.StrictMode.onFileUriExposed(StrictMode.java:1799)
      2. android.net.Uri.checkFileUriExposed(Uri.java:2346)
      3. android.content.ClipData.prepareToLeaveProcess(ClipData.java:832)
      4. android.content.Intent.prepareToLeaveProcess(Intent.java:8909)
      5. android.content.Intent.prepareToLeaveProcess(Intent.java:8894)
      6. android.app.Instrumentation.execStartActivity(Instrumentation.java:1517)
      7. android.app.Activity.startActivityForResult(Activity.java:4224)
      7 frames
    3. Android Support v4
      Fragment.startActivity
      1. android.support.v4.app.BaseFragmentActivityJB.startActivityForResult(BaseFragmentActivityJB.java:50)
      2. android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:79)
      3. android.support.v4.app.ActivityCompatJB.startActivityForResult(ActivityCompatJB.java:30)
      4. android.support.v4.app.ActivityCompat.startActivityForResult(ActivityCompat.java:146)
      5. android.support.v4.app.FragmentActivity.startActivityFromFragment(FragmentActivity.java:932)
      6. android.support.v4.app.FragmentActivity$HostCallbacks.onStartActivityFromFragment(FragmentActivity.java:1047)
      7. android.support.v4.app.Fragment.startActivity(Fragment.java:935)
      8. android.support.v4.app.Fragment.startActivity(Fragment.java:924)
      8 frames
    4. com.myapp.appbackup
      RestoreFragment$3.onItemClick
      1. com.myapp.appbackup.fragment.RestoreFragment$3.onItemClick(RestoreFragment.java:174)
      1 frame
    5. Android Platform
      ActivityThread.main
      1. android.widget.AdapterView.performItemClick(AdapterView.java:310)
      2. android.widget.AbsListView.performItemClick(AbsListView.java:1155)
      3. android.widget.AbsListView$PerformClick.run(AbsListView.java:3126)
      4. android.widget.AbsListView$3.run(AbsListView.java:4041)
      5. android.os.Handler.handleCallback(Handler.java:751)
      6. android.os.Handler.dispatchMessage(Handler.java:95)
      7. android.os.Looper.loop(Looper.java:154)
      8. android.app.ActivityThread.main(ActivityThread.java:6077)
      8 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
      2 frames