简体   繁体   中英

Camera in Android Oreo emulator

I'm running Visual Studio 2017 15.8.5 with Android_Accelerated_x86_Oreo embulator version 27.2.9-4773671.

When I run the emulator, the computer's webcam does not activate. I only get some placeholder image.

Is there anything I can do or try to get the webcam to work from within the Android emulator? I'm trying to test an app for scanning bar codes.

Thank you!

占位符图片

配置它的位置是工具-> Android-> Android设备管理器。

As said by @dythim you click on Tools->Android-> AVD Manager then you chose the AVD to edit, if the camera feature is not on the first screen but you can see Show advanced Settings then click on the button to show advanced settings. For camera option choose Webcam0 as value to use for front and back cameras.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM