java.lang.NoSuchMethodError: No interface method onTransitionToIdle()V in class Landroid/support/test/espresso/IdlingResource$ResourceCallback; or its super classes (declaration of 'android.support.test.espresso.IdlingResource$ResourceCallback' appears in /data/app/com.bellman.inecparrot.mock-2/base.apk)

Stack Overflow | Jerry Hanks | 7 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

    java.lang.NoSuchMethodError: No interface method onTransitionToIdle()V

    Stack Overflow | 7 months ago | Jerry Hanks
    java.lang.NoSuchMethodError: No interface method onTransitionToIdle()V in class Landroid/support/test/espresso/IdlingResource$ResourceCallback; or its super classes (declaration of 'android.support.test.espresso.IdlingResource$ResourceCallback' appears in /data/app/com.bellman.inecparrot.mock-2/base.apk)

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      No interface method onTransitionToIdle()V in class Landroid/support/test/espresso/IdlingResource$ResourceCallback; or its super classes (declaration of 'android.support.test.espresso.IdlingResource$ResourceCallback' appears in /data/app/com.bellman.inecparrot.mock-2/base.apk)

      at android.support.test.espresso.contrib.DrawerActions$IdlingDrawerListener.onDrawerStateChanged()
    2. android.support.test
      DrawerActions$IdlingDrawerListener.onDrawerStateChanged
      1. android.support.test.espresso.contrib.DrawerActions$IdlingDrawerListener.onDrawerStateChanged(DrawerActions.java:266)
      1 frame
    3. Android Support v4
      ViewDragHelper$2.run
      1. android.support.v4.widget.DrawerLayout.updateDrawerState(DrawerLayout.java:834)
      2. android.support.v4.widget.DrawerLayout$ViewDragCallback.onViewDragStateChanged(DrawerLayout.java:2089)
      3. android.support.v4.widget.ViewDragHelper.setDragState(ViewDragHelper.java:881)
      4. android.support.v4.widget.ViewDragHelper$2.run(ViewDragHelper.java:338)
      4 frames
    4. Android Platform
      Handler.dispatchMessage
      1. android.os.Handler.handleCallback(Handler.java:739)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      2 frames
    5. android.support.test
      ViewInteraction$1.run
      1. android.support.test.espresso.base.UiControllerImpl.loopUntil(UiControllerImpl.java:470)
      2. android.support.test.espresso.base.UiControllerImpl.loopMainThreadUntilIdle(UiControllerImpl.java:365)
      3. android.support.test.espresso.contrib.DrawerActions$DrawerAction.perform(DrawerActions.java:79)
      4. android.support.test.espresso.ViewInteraction$1.run(ViewInteraction.java:144)
      4 frames
    6. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      2 frames
    7. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:739)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:211)
      4. android.app.ActivityThread.main(ActivityThread.java:5389)
      4 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
      2 frames