android.os.FileUriExposedException

file:///storage/emulated/0/Android/data/com.kamron.pogoiv/files/Download/GoIV_new.apk exposed beyond app through Intent.getData()

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web57

  • file:///storage/emulated/0/Android/data/com.kamron.pogoiv/files/Download/GoIV_new.apk exposed beyond app through Intent.getData()
  • via Stack Overflow by Dann
    , 3 months ago
    file:///storage/emulated/0/Android/data/com.name.name/files/Download/OOOO.xlsx exposed beyond app through Intent.getData()
  • via GitHub by tcitworld
    , 2 months ago
    file:///storage/emulated/0/Android/data/fr.gaulupeau.apps.InThePoche/files/Microsoft_is_planning_to_turn_Windows_10_PCs_into_Amazon_Echo_competitors.pdf exposed beyond app through Intent.getData()
  • Stack trace

    • android.os.FileUriExposedException: file:///storage/emulated/0/Android/data/com.kamron.pogoiv/files/Download/GoIV_new.apk exposed beyond app through Intent.getData() at android.os.StrictMode.onFileUriExposed(StrictMode.java:1799) at android.net.Uri.checkFileUriExposed(Uri.java:2346) at android.content.Intent.prepareToLeaveProcess(Intent.java:8933) at android.content.Intent.prepareToLeaveProcess(Intent.java:8894) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1517) at android.app.ContextImpl.startActivity(ContextImpl.java:819) at android.app.ContextImpl.startActivity(ContextImpl.java:796) at android.content.ContextWrapper.startActivity(ContextWrapper.java:356) at com.kamron.pogoiv.updater.DownloadUpdateService$1.onReceive(DownloadUpdateService.java:60) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:1122) 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(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)

    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