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 ?
Just expanding the @sivi's answer:
In my case, i just re-established the connection to emulator using these :
adb kill-server ---> adb start-server
and it started working perfectly.