I managed to connect my webcam to android studio's emulator, however I am keep getting these wrong preview from the camera.Does anybody know the possible cause of it?
Asked
Active
Viewed 326 times
3
-
Try picking the hardware camera in emulator settings. You should have 3 options - none, emulated and device – Klawikowski Aug 17 '16 at 08:22
-
I've all tried, still not working... – Chloe Aug 17 '16 at 08:31
-
try giving more memory to emulator and install/update intel HAXM. if not already. – 7geeky Aug 17 '16 at 08:35
-
I'm just a beginner of Android studio, can you tell me how to get more memory and uptade HAXM? – Chloe Aug 17 '16 at 08:43
-
you can check this question for help: http://stackoverflow.com/questions/11857006/android-webcam-enable-in-emulator Btw, I suggest you using real phone to test your camera app. – DysaniazzZ Aug 17 '16 at 09:57
1 Answers
0
May be following will work for you
1.Open AVD Manager:
2.Add/Edit AVD:
3.Click Advanced Settings in the bottom of the screen:
4. Set your camera of choice as the front/back cameras:
hope it will help you..
UPDATE
try with delete the old AVD and create fresh one with these configs.

skydroid
- 733
- 6
- 16