java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1995, result=-1, data=Intent { (has extras) }} to activity {MainActivity}: java.lang.IllegalStateException: failed to get surface

Stack Overflow | Umer Farooq | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.IllegalStateException: failed to get surface

    Stack Overflow | 1 year ago | PL13
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=22, result=-1, data=Intent { (has extras) }} to activity {gr.awm.clrecorder/gr.awm.clrecorder.MainActivity}: java.lang.IllegalStateException: failed to get surface
  2. 0

    MediaRecorder.GetSurface() returning null

    Stack Overflow | 8 months ago | Umer Farooq
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1995, result=-1, data=Intent { (has extras) }} to activity {MainActivity}: java.lang.IllegalStateException: failed to get surface

    Root Cause Analysis

    1. java.lang.IllegalStateException

      failed to get surface

      at android.media.MediaRecorder.getSurface()
    2. Android Platform
      MediaRecorder.getSurface
      1. android.media.MediaRecorder.getSurface(Native Method)
      1 frame