Android - Fail to connect to camera

前端 未结 9 967
日久生厌
日久生厌 2020-12-30 20:29

I\'m using the Android APIDemo sample code.

When I run the CameraPreview example, at first it was giving me an error.

I traced that one down and the sample

9条回答
  •  情话喂你
    2020-12-30 20:57

    Also, if you are using the emulator, make sure you have selected to Emulate the Front Camera and/or the Back Camera.

    Android Virtual Device Manager->Select Device->Edit->Front Camera->Emulated

提交回复
热议问题