摄像头的Andr​​oid模拟器:"不能启动相机"和"结果过大"模拟器、过大、摄像头、相机

2023-09-07 09:19:31 作者:给的伤叫我如何遗忘。

我使用的是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.