Android Studio 的模拟器出现错误“无法连接到相机" [英] Android studio's emulator has an error "can't connect to camera"
本文介绍了Android Studio 的模拟器出现错误“无法连接到相机"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我通过将前置摄像头设置为webcam0"来将网络摄像头连接到我的模拟器在 AVD 管理器中.当我从 Android Studio 的 AVD 管理器或使用 emulator -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 Virtual device manager>>选择模拟器>>点击编辑>>选择高级设置>>相机选择为 Emulated 而不是 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屋!
查看全文