android.os.FileUriExposedException

file:///storage/emulated/0/Android/data/com.gelakinetic.mtgfam/files/tmp.jpg exposed beyond app through ClipData.Item.getUri()

Solutions on the web58

  • via GitHub by AEFeinstein
    , 10 months ago
    file:///storage/emulated/0/Android/data/com.gelakinetic.mtgfam/files/tmp.jpg exposed beyond app through ClipData.Item.getUri()
  • via GitHub by Dan2anderson
    , 7 months ago
    file:///storage/emulated/0/Android/data/com.salesrabbit.android.sales.universal/files/Pictures/cameraOutput1481305062027.jpg exposed beyond app through ClipData.Item.getUri()
  • file:///storage/emulated/0/Android/data/_***/files/20160714_0818461830680327.jpg exposed beyond app through ClipData.Item.getUri()
  • Stack trace

    • android.os.FileUriExposedException: file:///storage/emulated/0/Android/data/com.gelakinetic.mtgfam/files/tmp.jpg 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:48) at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:75) at android.app.Activity.startActivityForResult(Activity.java:4183) at android.support.v4.app.FragmentActivity.startActivityForResult(FragmentActivity.java:871) at com.gelakinetic.mtgfam.helpers.TutorCards$TutorCardsStartTask.onPostExecute(TutorCards.java:308) at com.gelakinetic.mtgfam.helpers.TutorCards$TutorCardsStartTask.onPostExecute(TutorCards.java:269) at android.os.AsyncTask.finish(AsyncTask.java:660)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    4 times, 3 weeks ago
    Unknown user
    Once, 1 month ago
    Unknown user
    Once, 8 months ago