Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

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

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

Worked for me..


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...