Android模拟器无法连接与&QUOT到网络摄像头,无法识别的像素格式错误" [英] Android Emulator cannot connect to webcam with "unrecognized pixel format error"

查看:210
本文介绍了Android模拟器无法连接与&QUOT到网络摄像头,无法识别的像素格式错误"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级我的MacBook优胜美地之后,我一直得到以下错误,每当我启动Android仿真器。我试过设置所有组合,但都报告了同样的错误。任何试图推出内置摄像头的应用程序,或者使用相机在我自己的应用程序产生崩溃。下面是我得到的时候仿真器启动错误。额外的调试标志运行仿真器不产生任何额外有用的信息。

After upgrading my macbook to Yosemite, I have been getting the following error whenever I launch an android emulator. I've tried all combinations of settings, but all report the same error. Any attempt to launch the built in camera app, or use the camera in my own app produces a crash. Below is the error I get when the emulator launches. Running the emulator with additional debug flags did not produce any additional useful info.

emulator: ERROR: Unrecognized pixel format 'v024'
emulator: ERROR: Pixel format 'v024' reported by the camera device is unsupported

这是我的模拟器配置之一的例子:

This is an example of one of my emulator configurations:

Name: Nexus_5_API_21
CPU/ABI: Google APIs Intel Atom (x86_64)
Path: /Users/rob/.android/avd/Nexus_5_API_21.avd
Target: Google APIs (API level 21)
Skin: nexus_5
SD Card: 100M
Snapshot: no
hw.lcd.density: 480
hw.dPad: no
avd.ini.encoding: UTF-8
hw.camera.back: webcam0
disk.dataPartition.size: 200M
hw.gpu.enabled: yes
runtime.network.latency: none
skin.dynamic: no
hw.keyboard: yes
runtime.network.speed: full
hw.device.hash2: MD5:2fa0e16c8cceb7d385183284107c0c88
hw.ramSize: 1536
tag.id: google_apis
tag.display: Google APIs
hw.sdCard: yes
hw.device.manufacturer: Google
hw.mainKeys: no
hw.accelerometer: yes
hw.trackBall: no
hw.device.name: Nexus 5
hw.sensors.proximity: yes
hw.battery: yes
AvdId: Nexus_5_API_21
hw.sensors.orientation: yes
hw.audioInput: yes
hw.camera.front: none
hw.gps: yes
avd.ini.displayname: Nexus 5 API 21
snapshot.present: no
vm.heapSize: 64
runtime.scalefactor: auto

网络摄像头工作正常,其他的应用,如大头还是facetime的。

The webcam works fine for other applications like photobooth or facetime.

任何想法如何,我也许能解决这个错误是大大AP preciated。

Any ideas for how I might be able to resolve this error are greatly appreciated.

推荐答案

我有同样的错误。我固定它通过打开的Photo Booth应用程序,然后重新启动AVD而在后台有大头贴。

I had the same error. I fixed it by opening the Photo Booth app and then restarted the AVD while having Photo Booth in the background.

这篇关于Android模拟器无法连接与&QUOT到网络摄像头,无法识别的像素格式错误"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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