Android Studio的模拟器在显示“无法连接到摄像头"时出现错误 [英] Android studio's emulator has an error "can't connect to camera"

查看:647
本文介绍了Android Studio的模拟器在显示“无法连接到摄像头"时出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过将前置摄像头设置为"webcam0&"来将摄像头连接到仿真器.在AVD管理器中. 当我从Android Studio的AVD管理器或使用模拟器-camera-front webcam0启动网络摄像头时,出现以下窗口:

I'm connecting a webcam to my emulator by setting the front camera to "webcam0" in the AVD Manager. When I launch the webcam from Android studio's AVD manager or using emulator -camera-front webcam0 , I get the following window:

,并且当仿真器显示出错误时

and when the emulator has showed that is an error

请帮助我解决该问题.

推荐答案

转到Android虚拟设备管理器>>选择仿真器>>单击编辑>>选择高级设置" >>将相机选择为仿真"而不是"Webcam0".

Go to Android Virtual device manager>>select the emulator>>click edit>>select Advanced Setting>>camera select as Emulated rather than Webcam0 .

这篇关于Android Studio的模拟器在显示“无法连接到摄像头"时出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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