为什么android模拟器相机会意外停止?

2022-01-08 00:00:00 camera android android-emulator java

我使用的是 Android 2.2(API 级别 8).相机在清单中启用.当我尝试模拟器模型提供的相机图标时,它会运行几秒钟,显示一个灰色框在黑白棋盘周围移动,然后因错误消息而死:

I am using Android 2.2 (API Level 8). The camera is enabled in the manifest. When I try the camera icon provided by the emulator model, it runs for a few seconds showing a gray box moving around a black and white checkerboard, then dies with the error message:

对不起!应用相机(过程com.android.camera) 已停止不料.请重试.

Sorry! The application Camera (process com.android.camera) has stopped unexpectedly. Please try again.

当然,再试一次也无济于事.我正在使用提供的模拟器相机将行为与我正在开发的相机应用程序进行比较.android模拟器摄像头为什么会突然停止?

Trying again, of course, doesn't help. I am using the provided emulator camera to compare behavior with a camera application I am working on. Why does the android emulator camera stop unexpectedly?

推荐答案

模拟器相机充其量是片状的.

The emulator camera is flaky at best.

相关文章