java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1000, result=-1, data=Intent { (has extras) }} to activity {com.asr.screenrecorder/com.asr.screenrecorder.ScreenRecordingwithAudio}: java.lang.IllegalStateException: failed to get surface

Stack Overflow | user2094593 | 9 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

    Screen Recording Force close on 5.1 version, saying failed to getsurface()

    Stack Overflow | 9 months ago | user2094593
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1000, result=-1, data=Intent { (has extras) }} to activity {com.asr.screenrecorder/com.asr.screenrecorder.ScreenRecordingwithAudio}: java.lang.IllegalStateException: failed to get surface
  2. 0

    Android location app crash

    Stack Overflow | 2 years ago | Paul Persa
    java.lang.RuntimeException: Unable to pause activity {com.persasrl.paul.quickfit/com.persasrl.paul.quickfit.StepCounter}: java.lang.IllegalStateException: GoogleApiClient is not connected yet.

    Root Cause Analysis

    1. java.lang.RuntimeException

      Failure delivering result ResultInfo{who=null, request=1000, result=-1, data=Intent { (has extras) }} to activity {com.asr.screenrecorder/com.asr.screenrecorder.ScreenRecordingwithAudio}: java.lang.IllegalStateException: failed to get surface

      at android.app.ActivityThread.deliverResults()
    2. Android Platform
      ActivityThread.access$1300
      1. android.app.ActivityThread.deliverResults(ActivityThread.java:3659)
      2. android.app.ActivityThread.handleSendResult(ActivityThread.java:3702)
      3. android.app.ActivityThread.access$1300(ActivityThread.java:155)
      3 frames