java.lang.IllegalStateException

Exception #2944564

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web59

  • via Stack Overflow by Jahrk
    ,
  • Stack trace

    • java.lang.IllegalStateException at android.media.MediaRecorder.start(Native Method) at com.example.amit.recording.RecordService.startRecording(RecordService.java:280) at com.example.amit.recording.RecordService.onStartCommand(RecordService.java:141) at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3422) at android.app.ActivityThread.access$2200(ActivityThread.java:181) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1572) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.app.ActivityThread.main(ActivityThread.java:6117) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,