android.support.test.espresso.AppNotIdleException: Looped for 3019 iterations over 60 SECONDS. The following Idle Conditions failed .

Stack Overflow | Divers | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Testing endless scrolling RecyclerView with Espresso and RxJava

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

    Espresso: AppNotIdleException

    Stack Overflow | 8 months ago | San Kh
    android.support.test.espresso.AppNotIdleException: Looped for 4539 iterations over 60 SECONDS. The following Idle Conditions failed .
  3. 0

    Espresso Instrumentation Test works on Emulator but hangs on Android Device

    Stack Overflow | 1 month ago | Sushant Krishnan
    android.support.test.espresso.AppNotIdleException: Looped for 85 iterations over 45 SECONDS. The following Idle Conditions failed ASYNC_TASKS_HAVE_IDLED.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

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

    Espresso test errror: AppNotIdleException

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

    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 3019 iterations over 60 SECONDS. The following Idle Conditions failed .

      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:82)
      2. android.support.test.espresso.base.DefaultFailureHandler.handle(DefaultFailureHandler.java:53)
      3. android.support.test.espresso.ViewInteraction.runSynchronouslyOnUiThread(ViewInteraction.java:184)
      4. android.support.test.espresso.ViewInteraction.check(ViewInteraction.java:158)
      4 frames
    5. org.kidinov.mvp_test
      InstaActivityTest.checkIfProgressShown
      1. org.kidinov.mvp_test.InstaActivityTest.checkIfProgressShown(InstaActivityTest.java:69)
      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
      InvokeMethod.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)
      4 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:257)
      2 frames
    9. org.kidinov.mvp_test
      TestComponentRule$1.evaluate
      1. org.kidinov.mvp_test.test.common.TestComponentRule$1.evaluate(TestComponentRule.java:49)
      1 frame
    10. 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
    11. android.support.test
      AndroidJUnitRunner.onStart
      1. android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:54)
      2. android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:240)
      2 frames
    12. org.kidinov.mvp_test
      RxAndroidJUnitRunner.onStart
      1. org.kidinov.mvp_test.runner.UnlockDeviceAndroidJUnitRunner.onStart(UnlockDeviceAndroidJUnitRunner.java:36)
      2. org.kidinov.mvp_test.runner.RxAndroidJUnitRunner.onStart(RxAndroidJUnitRunner.java:16)
      2 frames
    13. Android Platform
      Instrumentation$InstrumentationThread.run
      1. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1853)
      1 frame