RobotiumTech/robotium

getActivity() hangs when I run testcase.

Closed this issue · 2 comments

It will happend randomly when I run all test, getActivity() in public void setup() can't be runned. My LAUNCHER_ACTIVITY_FULL_CLASSNAME set as below :

private static final String LAUNCHER_ACTIVITY_FULL_CLASSNAME = "com.app.ehang.copter.activitys.MainActivity";

Use Thread to fix

Can you post your solution please?