我是Espresso UI测试的新手.
我在运行测试时遇到此错误(ADT Eclipse IDE).
该应用程序已经开发,启动应用程序时会有很多请求.无法重写应用程序.但我需要找到测试此UI的方法,即使组件的加载有任何延迟.
java.lang.RuntimeException: Could not launch intent Intent { act=android.intent.action.MAIN flg=0x14000000 cmp=com.xx.android/com.yy.core.android.map.MapActivity } within 45 seconds. Perhaps the main thread has not gone idle within a reasonable amount of time? There could be an animation or something constantly repainting the screen. Or the activity is doing network calls on creation? See the threaddump logs. For your reference the last time the event queue was idle before your activity launch request was 1390913271702 and and now the …Run Code Online (Sandbox Code Playgroud)