遗憾的是摄像头已经停止 [英] unfortunately camera has stopped
问题描述
我使用AVD安装Android 4.2版。在AVD具有这种配置:
I'm using AVD with Android 4.2 installed. The AVD has this configuration:
当我点击了相机的应用程序,我得到以下错误信息:可惜相机已停止
When I click on the Camera app, I get the following error message: unfortunately camera has stopped.
我试图从相机清除数据,但没有奏效。有什么建议?
I tried to clear data from the camera but that did not work. Any suggestions?
推荐答案
您需要检查时,从仿真器启动时,看它是否被正确地检测到您的网络摄像头logcat的;你也可以尝试直接从与-d选项相机在命令行运行模拟器来获得额外的摄像头调试消息。
You'll need to check the logcat from when the emulator boots up to see if it is detecting your webcam correctly; you can also try to run the emulator directly from the commandline with the -d camera option to receive extra camera debugging messages.
为了简化问题,请尝试切换到假模拟器摄像头,而不是网络摄像头;这将产生一个简单的棋盘测试图像。
To simplify the issue, try switching to the fake emulator camera instead of the webcam; this will produce a simple checkerboard testing image.
这篇关于遗憾的是摄像头已经停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!