android.os.FileUriExposedException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • FileUriExposedException
    via GitHub by ldemay
    ,
  • FileUriExposedException
    via GitHub by AEFeinstein
    ,
  • GitHub comment 52#256696336
    via GitHub by josealfonsomora
    ,
  • GitHub comment 52#266075610
    via GitHub by Dan2anderson
    ,
  • Android N下拍照报错
    via GitHub by Tlaster
    ,
  • Android Noga Camera Issue
    via GitHub by AhmedBadrSayed
    ,
  • GitHub comment 194#237539329
    via GitHub by AndyScherzinger
    ,
  • GitHub comment 46#253184676
    via GitHub by rtalari
    ,
    • 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(StrictMode.java:1799) at android.net.Uri.checkFileUriExposed(Uri.java:2346) at android.content.ClipData.prepareToLeaveProcess(ClipData.java:832) at android.content.Intent.prepareToLeaveProcess(Intent.java:8909) at android.content.Intent.prepareToLeaveProcess(Intent.java:8894) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1517) at android.app.Activity.startActivityForResult(Activity.java:4224) at android.support.v4.app.BaseFragmentActivityJB.startActivityForResult(BaseFragmentActivityJB.java:50) at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:79) at android.support.v4.app.ActivityCompatJB.startActivityForResult(ActivityCompatJB.java:30) at android.support.v4.app.ActivityCompat.startActivityForResult(ActivityCompat.java:146) at android.support.v4.app.FragmentActivity.startActivityFromFragment(FragmentActivity.java:932) at android.support.v4.app.FragmentActivity$HostCallbacks.onStartActivityFromFragment(FragmentActivity.java:1047) at android.support.v4.app.Fragment.startActivity(Fragment.java:935) at android.support.v4.app.Fragment.startActivity(Fragment.java:924) at com.myapp.appbackup.fragment.RestoreFragment$3.onItemClick(RestoreFragment.java:174) at android.widget.AdapterView.performItemClick(AdapterView.java:310) at android.widget.AbsListView.performItemClick(AbsListView.java:1155) at android.widget.AbsListView$PerformClick.run(AbsListView.java:3126) at android.widget.AbsListView$3.run(AbsListView.java:4041) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6077) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,