RobotiumTech / robotium

Android UI Testing
http://www.robotium.org
Apache License 2.0
2.86k stars 786 forks source link

getActivity() hangs when I run testcase. #846

Closed heyyuyu closed 8 years ago

heyyuyu commented 8 years ago

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";

heyyuyu commented 8 years ago

Use Thread to fix

SKART1 commented 8 years ago

Can you post your solution please?