Android模拟器无法连接网络摄像头

时间:2016-02-18 12:14:32

标签: android android-studio android-emulator webcam

当我尝试在模拟器中连接HP网络摄像头时,我正在

  

不幸的是相机停了。

运行模拟器中提供的相机应用程序时,模拟器中出现

错误。

我在Android studio中遇到以下错误。

  

模拟器:警告:_get_pixel_format_descriptor:像素格式P207未知   模拟器:错误:_camera_client_query_start:P207和NV21(或RGB32)像素格式之间不存在转换

我使用的是Ubuntu 14.04 LTS 64 Bit。 lsusb 命令提供以下输出。

Bus 002 Device 005:ID 093a:2460 Pixart Imaging,Inc。Q-TEC WEBCAM 100。

我的config.ini文件如下。

avd.ini.encoding=UTF-8
AvdId=Nexus_5_API_23_x86
abi.type=x86
avd.ini.displayname=Nexus 5 API 23 x86
disk.dataPartition.size=200M
hw.accelerometer=yes
hw.audioInput=yes
hw.battery=yes
hw.camera.back=webcam0
hw.camera.front=emulated
hw.cpu.arch=x86
hw.dPad=no
hw.device.hash2=MD5:2fa0e16c8cceb7d385183284107c0c88
hw.device.manufacturer=Google
hw.device.name=Nexus 5
hw.gps=yes
hw.gpu.enabled=yes
hw.keyboard=yes
hw.lcd.density=480
hw.mainKeys=no
hw.ramSize=1536
hw.sdCard=yes
hw.sensors.orientation=yes
hw.sensors.proximity=yes
hw.trackBall=no
image.sysdir.1=system-images/android-23/google_apis/x86/
runtime.network.latency=none
runtime.network.speed=full
runtime.scalefactor=auto
sdcard.path=/home/user/.android/avd/Nexus_5_API_23_x86.avd/sdcard.img
skin.dynamic=yes
skin.name=nexus_5
skin.path=/home/user/android-studio/plugins/android/lib/device-art resources/nexus_5
snapshot.present=no
tag.display=Google APIs
tag.id=google_apis
vm.heapSize=64

任何人都可以帮我解决这个问题吗?

0 个答案:

没有答案
相关问题