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()

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by ZaptechDev Kumar
, 9 months ago
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()
via Stack Overflow by L.Grillo
, 1 year ago
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()
via Stack Overflow by Adrime
, 1 year ago
Permission Denial: reading android.support.v4.content.FileProvider uri content://com.adrime.videoshare.fileprovider/videos/testvideo.webm?caption=Hello%20text from pid=22716, uid=10248 requires the provider be exported, or grantUriPermission()
via GitHub by sparkrod
, 2 years ago
Permission Denial: reading com.google.android.apps.photos.contentprovider.MediaContentProvider uri content://com.google.android.apps.photos.contentprovider/-1/1/content%3A%2F%2Fmedia%2Fexternal%2Fimages%2Fmedia%2F179/ACTUAL/2090966317 from pid=22454, uid=10186 requires the provider be exported, or grantUriPermission()
via GitHub by tobiasKaminsky
, 4 months ago
Permission Denial: reading com.google.android.apps.photos.contentprovider.impl.MediaContentProvider uri content://com.google.android.apps.photos.contentprovider/0/1/mediakey%3A%2Flocal%253Aed6e226a-cf09-4331-a5c1-a6a4b63a4382/REQUIRE_ORIGINAL/NONE/14907489 from pid=22172, uid=10242 requires the provider be exported, or grantUriPermission()
via GitHub by stevenolen
, 11 months ago
Permission Denial: reading com.android.providers.media.MediaDocumentsProvider uri content://com.android.providers.media.documents/document/video%3A89 from pid=25815, uid=10083 requires android.permission.MANAGE_DOCUMENTS, or grantUriPermission()
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)

Users with the same issue

2 times, 1 year ago
102 times, 8 months ago
110 times, 8 months ago
209 times, 1 year ago
3007 times, 1 year ago
63 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.