-
Notifications
You must be signed in to change notification settings - Fork 1.1k
SecurityException crash in picking image #134
Comments
Did you include the permission in AndroidManifest ? :D |
I know including the permission will fix this but that is not the point. This used to work earlier. Neither is this mentioned that this permission is required :) |
Yeah, I did not have this permission so far, and it still works fine. Maybe they are some changes in your code ? : D |
No changes in the code. I just used a different phone. Even in this phone, this happens randomly and not all the time.. It looks like this is the same as #9 but it must not crash. |
I have a similar problem with a different missing permission: READ_EXTERNAL_STORAGE
Crash seems to happen on Samsung devices only (4.4, 5.0) |
Same error
While in manifest I had: Device: Moto G (4.4.4) |
To deal with this problem, at least when caused by the new runtime permission check required from API 23, you can add something like this in CropImageActivity: `
` and then something like
` In general, have a look here: http://developer.android.com/training/permissions/requesting.html |
The text was updated successfully, but these errors were encountered: