1- go to Settings – Applications
2- Switch to “All” tab
3- look for “Media Storage”
4- Clear Cache and Data
5- Restart ur device
This will help you fix the error message that pops up when you try to open the Gallery app in some android devices .