在仿真器2.2 Android摄像头问题 [英] camera issue in emulator 2.2 in android

查看:93
本文介绍了在仿真器2.2 Android摄像头问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很痛苦与在Android 2.2的模拟器,相机不工作的问题。它会自动关机相机。但是,这个问题不发生在Android 1.5的模拟器。 它为什么发生?任何机构可以帮助?

i am suffering with a problem that in android 2.2 emulator, camera doesn't work. it closes down the camera automatically. But this problem is not happening in android 1.5 emulator. Why it is happening? can any body help?

推荐答案

这是一个已知问题,已被要求多次对SO - 这里有一些指向可能的解决方案。然而,相机仿真在2.2已知是手推车:

This is a known issue and has been asked several times on SO - here are some pointers to possible solutions. However, the camera emulation in 2.2 is known to be buggy:

  • <一个href="http://stackoverflow.com/questions/2948809/emulators-camera-built-in-app-buggy-in-froyo-2-2">Removing模板缓存
  • 切换到2.1或2.3
  • Removing the stencil buffer
  • Switching to 2.1 or 2.3

所以,你有两个选择:要么你尝试按照在第一线的方向,通过正确的答案给予或切换到模拟器上无论是2.1还是2.3 +运行

So you have two options: Either you try to follow the directions, given by the correct answer in the first thread or switch to an emulator running on either 2.1 or 2.3+.

这篇关于在仿真器2.2 Android摄像头问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆