4

I switched on the camera in settings and can see stuff on the preview enter image description here

but the camera doesn't work, I thought it was my program that called the camera wrongly but the default camera app also doesn't workenter image description here

I really don't want to go back to using eclipse's AVD!. TIA

Arjun Krishnan
  • 359
  • 1
  • 6
  • 13

2 Answers2

7

I just encountered this problem and the solution here worked like a charm.

Community
  • 1
  • 1
Harvinder
  • 274
  • 3
  • 15
  • 2
    If you're going to link to a answer please add a quick description of what the solution was. Thanks! – joshua-anderson Mar 30 '14 at 20:01
  • If you hover over the 'here', you see a small description. But I will keep that in mind for the future, thank you. Anyway, I ran the Genymotion emulator outside of the IDE and the camera seems to work. This means that the problem is with the IDE plugin. One way around this is to start the emulator from outside the IDE (before opening the IDE) and leave it running. Another solution is the one described in that other post. – Harvinder Mar 30 '14 at 22:09
  • Disable the camera in Genymotion, then in Android Studio, select Tools/Android/"Enable ADB Integration", then turn on the camera in Genymotion, it should work. – Benoit_Plante Jan 30 '15 at 00:30
0

I use genymotion as well, its great:D make sure no other apps are trying to access your camera. Also if you have a firewall make sure its not blocking access to the camera. If you have a camera on your computer you could try to switch the front or back camera option in genymotion to your computers camera instead of dummy camera. As a last result try to Create another emulator.

Sam Panagrosso
  • 163
  • 1
  • 9