java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=1580, uid=10108 requires android.permission.READ_EXTERNAL_STORAGE, 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 dayroma
, 1 year ago
Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=1580, uid=10108 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
via Stack Overflow by Abdul Waheed
, 11 months ago
Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=10669, uid=10319 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
via GitHub by mzorz
, 9 months ago
Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media/7867 from pid=17038, uid=10077 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
via Stack Overflow by user3480753
, 2 years ago
Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media/28 from pid=13141, uid=10060 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
via GitHub by claudioviola
, 1 year ago
Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=16354, uid=10174 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
via Stack Overflow by Selvaraj Karuppusamy
, 2 years ago
Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media/25 from pid=3459, uid=10066 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=1580, uid=10108 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
at android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:605)
at android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:480)
at android.content.ContentProvider$Transport.query(ContentProvider.java:211)
at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)
at android.os.Binder.execTransact(Binder.java:453)

Users with the same issue

1265 times, 1 month ago
62 times, 3 months ago
70 times, 4 months ago
35 times, 5 months ago
192 times, 6 months ago

Write tip

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