android.support.test.espresso.AppNotIdleException: Looped for 85 iterations over 45 SECONDS. The following Idle Conditions failed ASYNC_TASKS_HAVE_IDLED.

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Espresso test blocked with background thread. Application not idle Exception: "AppNotIdleException."

    Stack Overflow | 8 months ago | user3400729
    android.support.test.espresso.AppNotIdleException: Looped for 246 iterations over 60 SECONDS. The following Idle Conditions failed ASYNC_TASKS_HAVE_IDLED.
  2. 0

    Espresso test errror: AppNotIdleException

    Stack Overflow | 9 months ago | user5174803
    android.support.test.espresso.AppNotIdleException: Looped for 6930 iterations over 60 SECONDS. The following Idle Conditions failed .
  3. 0

    Espresso: AppNotIdleException

    Stack Overflow | 10 months ago | San Kh
    android.support.test.espresso.AppNotIdleException: Looped for 4539 iterations over 60 SECONDS. The following Idle Conditions failed .
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Espresso Instrumentation Test works on Emulator but hangs on Android Device

    Stack Overflow | 3 months ago | Sushant Krishnan
    android.support.test.espresso.AppNotIdleException: Looped for 85 iterations over 45 SECONDS. The following Idle Conditions failed ASYNC_TASKS_HAVE_IDLED.

    7 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. android.support.test.espresso.AppNotIdleException

      Looped for 85 iterations over 45 SECONDS. The following Idle Conditions failed ASYNC_TASKS_HAVE_IDLED.

      at dalvik.system.VMStack.getThreadStackTrace()
    2. Android Platform
      VMStack.getThreadStackTrace
      1. dalvik.system.VMStack.getThreadStackTrace(Native Method)
      1 frame
    3. Java RT
      Thread.getStackTrace
      1. java.lang.Thread.getStackTrace(Thread.java:580)
      1 frame
    4. android.support.test
      ViewInteraction.check
      1. android.support.test.espresso.base.DefaultFailureHandler.getUserFriendlyError(DefaultFailureHandler.java:92)
      2. android.support.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:56)
      3. android.support.test.espresso.ViewInteraction.runSynchronouslyOnUiThread(ViewInteraction.java:184)
      4. android.support.test.espresso.ViewInteraction.check(ViewInteraction.java:158)
      4 frames
    5. activities
      ActivityInstrumentationTest.basicInstrumentationTestForTitle
      1. activities.ActivityInstrumentationTest.basicInstrumentationTestForTitle(ActivityInstrumentationTest.java:71)
      1 frame
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    7. JUnit
      RunBefores.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      5 frames
    8. android.support.test
      ActivityTestRule$ActivityStatement.evaluate
      1. android.support.test.internal.statement.UiThreadStatement.evaluate(UiThreadStatement.java:55)
      2. android.support.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:270)
      2 frames
    9. JUnit
      JUnitCore.run
      1. org.junit.rules.RunRules.evaluate(RunRules.java:20)
      2. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      4. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      5. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      6. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      7. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      8. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      9. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      10. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      11. org.junit.runners.Suite.runChild(Suite.java:128)
      12. org.junit.runners.Suite.runChild(Suite.java:27)
      13. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      14. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      15. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      16. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      17. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      18. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      19. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      20. org.junit.runner.JUnitCore.run(JUnitCore.java:115)
      20 frames
    10. android.support.test
      AndroidJUnitRunner.onStart
      1. android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:59)
      2. android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:262)
      2 frames
    11. Android Platform
      Instrumentation$InstrumentationThread.run
      1. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1867)
      1 frame