I am using genymotion emulator http://www.genymotion.com/ but when I opened the camera , I got message \"cannot connect to the camera \" , what is the problem ?
If you are using Intellij Idea no need to restart Genymotion or IDE.
It should works for you as well.