java.lang.RuntimeException

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(Spoon.java:54) at com.example.calcapplication.test.CalcTestCase.testDialog(CalcTestCase.java:37) at java.lang.reflect.Method.invokeNative(Native Method) at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214) at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199) at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701)

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

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