Android emulator can't use my laptop webcam
Android emulator can't use my laptop webcam
I run an AVD on my Android emulator 27.2.9. It runs OK, except when I put the front(Or back) camera set to Webcam0.
If I set the front and back camera to emulated or virtual scene, I can open the camera built-in app and change cameras.
But if I set it to WebCam0 it only shows one camera(The emulated one) and I can't switch it.
As I've seen in other answers, I have in my config.ini this parameters
hw.camera.back=webcam0
hw.camera.front=emulated
sdcard.size=500 MB
I added this line as seen in other answers, to no avail:
hw.camera=yes
It happens with all android versions, so I'm guessing it's just a configuration problem, or maybe with the connection to the webcam.
I can open the webcam from windows and take pictures, so I know my camera works
Where's the camera?
If anyone could help me I'd really appreciate it.
Thanks in advance
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.