darsh2 / MultipleImageSelect

Android library that provides for multiple image selection.
Apache License 2.0
300 stars 112 forks source link

Permission denial error #9

Closed jeetdholakia closed 8 years ago

jeetdholakia commented 9 years ago

Hey guys,

Im getting this error ... Ive tried setting android:exported = true in my manifest as well, but it doesn't work. And I've also provided the read/write permissions.

10-05 12:15:21.611 28063-28171/com.sand5.giflab E/AndroidRuntime: java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/images/media from pid=28063, uid=10151 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()

Please help me out... Thanks

darsh2 commented 9 years ago

Hello,

The permission to read external storage is added in this library's manifest file. I'm not certain what could be causing the error. In any case android:exported=true is not required as this is not a service. Can you post a snapshot of your manifest file?

darsh2 commented 8 years ago

Latest commit should fix this issue as it now supports run time permissions