title: Android Emulator: Unable to start webcam to capture picture in emulator
body: <p>I have created an armeabi API 21 emulator in the AVD manager in Android Studio, set it to use the webcam as a front camera, and launched it.
  The problem is that it's not able to open it, as I'm getting this error:</p>
  
  <pre><code>emulator: ERROR: camera_device_start_capturing: VIDIOC_STREAMON on camera '/dev/video0' has failed: Timer expired
  emulator: ERROR: _camera_client_query_start: Cannot start camera '/dev/video0' for NV21[640x480]: Inappropriate ioctl for device
  </code></pre>
  
  <p>How can I solve this?</p>
  
  <p>The webcam works normally using other software. The operative system is Ubuntu 14.04.</p>