java.lang.SecurityException

Permission Denial: reading android.support.v4.content.FileProvider uri content://com.mayar.inputcontent/my_images/a1.png from pid=8677, uid=10151 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 Stack Overflow by user3480753
    ,
  • Stack trace

    • java.lang.SecurityException: Permission Denial: reading android.support.v4.content.FileProvider uri content://com.mayar.inputcontent/my_images/a1.png from pid=8677, uid=10151 requires the provider be exported, or grantUriPermission() at android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:615) at android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:480) at android.content.ContentProvider$Transport.enforceFilePermission(ContentProvider.java:471) at android.content.ContentProvider$Transport.openTypedAssetFile(ContentProvider.java:416) at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:313) at android.os.Binder.execTransact(Binder.java:453)

    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

    PierrePierre
    21 times, last one
    Hiren AmaliyarHiren Amaliyar
    7 times, last one
    filipebatistafilipebatista
    192 times, last one
    winer222winer222
    81 times, last one
    Unknown UserUnknown User
    12 times, last one
    60 more bugmates