java.lang.IllegalStateException: Could not execute method of the activity

Stack Overflow | 杨家俊 | 3 months ago
  1. 0

    Error -19 when trying to record video

    Stack Overflow | 3 months ago | 杨家俊
    java.lang.IllegalStateException: Could not execute method of the activity
  2. 0

    Android: MediaRecorder start failed : -16

    Stack Overflow | 4 years ago | user1797699
    java.lang.RuntimeException: start failed.
  3. 0

    Android - MediaRecorder start() throw IllegalStateException

    Stack Overflow | 3 years ago | Junior Programmer
    java.lang.IllegalStateException: Could not execute method of the activity
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android MediaRecorder start failed -19

    Stack Overflow | 2 years ago | Robin
    java.lang.RuntimeException: start failed.

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      start failed.

      at android.media.MediaRecorder.start()
    2. Android Platform
      MediaRecorder.start
      1. android.media.MediaRecorder.start(Native Method)
      1 frame
    3. tk.rahman.camera
      MainActivity.record
      1. tk.rahman.camera.MainActivity.record(MainActivity.java:161)
      1 frame
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. Android Platform
      ActivityThread.main
      1. android.view.View$1.onClick(View.java:3855)
      2. android.view.View.performClick(View.java:4508)
      3. android.view.View$PerformClick.run(View.java:18675)
      4. android.os.Handler.handleCallback(Handler.java:733)
      5. android.os.Handler.dispatchMessage(Handler.java:95)
      6. android.os.Looper.loop(Looper.java:136)
      7. android.app.ActivityThread.main(ActivityThread.java:5590)
      7 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1280)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1096)
      2 frames
    8. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame