Unable to capture screenshot.

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 web4

Stack trace

  • java.lang.RuntimeException: Unable to capture screenshot. at com.squareup.spoon.Spoon.screenshot( at com.example.calcapplication.test.CalcTestCase.testDialog( at java.lang.reflect.Method.invokeNative(Native Method) at android.test.InstrumentationTestCase.runMethod( at android.test.InstrumentationTestCase.runTest( at android.test.ActivityInstrumentationTestCase2.runTest( at android.test.AndroidTestRunner.runTest( at android.test.AndroidTestRunner.runTest( at android.test.InstrumentationTestRunner.onStart( at$

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

10 times, last one
2 times, last one
Unknown visitor
Unknown visitorOnce,