As Shahzad Imam said, you cannot use the camera on an emulator.
But if you canβt buy a real device, and you really need a camera, you can try transferring the video to the network from your PC, and then process it on Android, since it is a real camera. Or, if you just need a photo, you can use some image.
source share