摄像头的Android模拟器:"不能启动相机"和"结果过大" [英] Webcam in Android emulator: "Cannot start camera" and "Result too large"
问题描述
我使用的是Android 4.1.2 AVD需要使用相机。我试图用我的摄像头在仿真器的替代品,但我得到这个错误:
I have an Android 4.1.2 AVD that needs to use the camera. I tried using my webcam as a substitute in the emulator, but I get this error:
[二○一二年十一月十六日10:35:37 - 模拟器]仿真器:ERROR:_camera_client_query_start:无法启动相机AndroidEmulatorVC0'为NV21 [640×480]:结果太大
[2012-11-16 10:35:37 - Emulator] emulator: ERROR: _camera_client_query_start: Cannot start camera 'AndroidEmulatorVC0' for NV21[640x480]: Result too large
如何解决这个问题?
推荐答案
要解决这个问题。只要到AVD管理,编辑设备。 在SD卡部分,增加从空白的大小,以一定的数量。我把我的64MiB它工作得很好。
To fix this problem. Just go to AVD Manager, EDIT your device. At the SD Card section, increase the size from blank to a certain amount. I put mine 64MiB and it worked fine.
这篇关于摄像头的Android模拟器:"不能启动相机"和"结果过大"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!