java.lang.SecurityException

Permission Denial: reading android.support.v4.content.FileProvider uri content://com.lucagrillo.myapp.fileprovider/images/shareFile.mp4?caption=%23myappHashtag from pid=9630, uid=10093 requires the provider be exported, or grantUriPermission()

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web57

  • via GitHub by Jack-Xiao
    ,
  • via Stack Overflow by user3480753
    ,
  • Stack trace

    • java.lang.SecurityException: Permission Denial: reading android.support.v4.content.FileProvider uri content://com.lucagrillo.myapp.fileprovider/images/shareFile.mp4?caption=%23myappHashtag from pid=9630, uid=10093 requires the provider be exported, or grantUriPermission() at android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:608) at android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:483) at android.content.ContentProvider$Transport.enforceFilePermission(ContentProvider.java:474) at android.content.ContentProvider$Transport.openTypedAssetFile(ContentProvider.java:419) at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:313) at android.os.Binder.execTransact(Binder.java:565)

    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

    Hiren AmaliyarHiren Amaliyar
    7 times, last one
    filipebatistafilipebatista
    192 times, last one
    winer222winer222
    81 times, last one
    Unknown UserUnknown User
    12 times, last one
    Indri YunitaIndri Yunita
    16 times, last one
    59 more bugmates