title: Why did I get FATAL EXCEPTION when I test MediaRecorder sample?
body: <p>I test the sample E:\Android_SDK\samples\android-22\media\MediaRecorder in my real device using Android Studio, I get the following error, why? Is there some bugs in the sample?</p>
  
  <p>BTW, my android verion is 5.1</p>
  
  <pre><code>09-28 16:09:31.683  17233-17233/com.example.android.mediarecorder E/Zygote﹕ v2
  09-28 16:09:31.683  17233-17233/com.example.android.mediarecorder E/SELinux﹕ [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL
  09-28 16:10:06.343  17233-17772/com.example.android.mediarecorder E/MediaRecorder﹕ start failed: -19
  09-28 16:10:06.343  17233-17772/com.example.android.mediarecorder E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #1
      Process: com.example.android.mediarecorder, PID: 17233
      java.lang.RuntimeException: An error occured while executing doInBackground()
              at android.os.AsyncTask$3.done(AsyncTask.java:304)
              at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
              at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
              at java.util.concurrent.FutureTask.run(FutureTask.java:242)
              at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
              at java.lang.Thread.run(Thread.java:818)
       Caused by: java.lang.RuntimeException: start failed.
              at android.media.MediaRecorder.start(Native Method)
              at com.example.android.mediarecorder.MainActivity$MediaPrepareTask.doInBackground(MainActivity.java:208)
              at com.example.android.mediarecorder.MainActivity$MediaPrepareTask.doInBackground(MainActivity.java:200)
              at android.os.AsyncTask$2.call(AsyncTask.java:292)
              at java.util.concurrent.FutureTask.run(FutureTask.java:237)
              at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
              at java.lang.Thread.run(Thread.java:818)
  </code></pre>
  
  <p><strong>Added</strong></p>
  
  <p>And more, it works well after I remove <code>android:screenOrientation="landscape"</code> in AndroidManifest.xml, but I don't know why?</p>