It seems that your device does not support camera(or it is locked)

SBM picture SBM · Dec 18, 2013 · Viewed 28.7k times · Source

Android opencv samples and tutorials were running fine and suddenly one day I get this for all of those:
"It seems that your device does not support camera (or it is locked). The application will be closed"
Please help, how to I can fix it?

I have reinstalled opencv and imported again and made new emulators but the problem still persists.

Answer

orimen picture orimen · Jun 26, 2016

Go to your device settings -> apps -> YOUR APP -> Permissions -> turn on camera permission..

Worked for me..