I\'ve got an issue with testing my android application. I have 2 testCase class, if I execute them separately, there is no problem, the tests run until the end. But if I
I used to get this error when I used System.exit(0) on my test Activity's onFinish like below:
@Override public void finish() { super.finish(); System.exit(0); }
So check your Main activity's onFinish method.