java.lang.NoSuchMethodError: No virtual method findViewHolderForPosition(I)Landroid/support/v7/widget/RecyclerView$ViewHolder; in class Landroid/support/v7/widget/RecyclerView; or its super classes (declaration of 'android.support.v7.widget.RecyclerView' appears in /data/app/com.example-1/base.apk)

Stack Overflow | Bersh | 2 months ago
  1. 0

    No virtual method findViewHolderForPosition(I) when trying to click on RecyclerView item with Espresso

    Stack Overflow | 2 months ago | Bersh
    java.lang.NoSuchMethodError: No virtual method findViewHolderForPosition(I)Landroid/support/v7/widget/RecyclerView$ViewHolder; in class Landroid/support/v7/widget/RecyclerView; or its super classes (declaration of 'android.support.v7.widget.RecyclerView' appears in /data/app/com.example-1/base.apk)
  2. 0

    Testing recyclerView with Espresso, how to perform click or make assertions

    Stack Overflow | 1 year ago | F1sher
    java.lang.NoSuchMethodError: No virtual method findViewHolderForPosition(I)Landroid/support/v7/widget/RecyclerView$ViewHolder; in class Landroid/support/v7/widget/RecyclerView; or its super classes (declaration of 'android.support.v7.widget.RecyclerView' appears in /data/app/com.myapp.debug1-1/base.apk)
  3. 0

    RecyclerView Proguard error while running espresso tests

    Stack Overflow | 1 month ago | Dooblie Doober
    java.lang.NoSuchMethodError: No virtual method findViewHolderForPosition(I)Landroid/support/v7/widget/RecyclerView$v; in class Landroid/support/v7/widget/RecyclerView; or its super classes (declaration of 'android.support.v7.widget.RecyclerView' appears in /data/app/com.stacklighting.stackandroidappdev-1/base.apk)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoSuchMethodError for RecyclerView in Espresso test

    Stack Overflow | 1 year ago | Eric
    java.lang.NoSuchMethodError: android.support.v7.widget.RecyclerView.scrollToPosition
  6. 0

    使用后发现个问题

    GitHub | 2 months ago | hiquanta
    java.lang.NoSuchMethodError: No virtual method getLayoutPosition()I in class Landroid/support/v7/widget/RecyclerView$ViewHolder; or its super classes (declaration of 'android.support.v7.widget.RecyclerView$ViewHolder' appears in /data/data/com.hiquanta.scaffold/files/instant-run/dex/slice-com.android.support-recyclerview-v7-21.0.3_df540e2a50890ed1f7dca1bd1facf505177c5453-classes.dex)

    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. java.lang.NoSuchMethodError

      No virtual method findViewHolderForPosition(I)Landroid/support/v7/widget/RecyclerView$ViewHolder; in class Landroid/support/v7/widget/RecyclerView; or its super classes (declaration of 'android.support.v7.widget.RecyclerView' appears in /data/app/com.example-1/base.apk)

      at android.support.test.espresso.contrib.RecyclerViewActions$ActionOnItemAtPositionViewAction.perform()
    2. android.support.test
      ViewInteraction$1.run
      1. android.support.test.espresso.contrib.RecyclerViewActions$ActionOnItemAtPositionViewAction.perform(RecyclerViewActions.java:288)
      2. android.support.test.espresso.contrib.RecyclerViewActions$ActionOnItemViewAction.perform(RecyclerViewActions.java:232)
      3. android.support.test.espresso.ViewInteraction$1.run(ViewInteraction.java:144)
      3 frames
    3. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      2 frames
    4. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:751)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:154)
      4. android.app.ActivityThread.main(ActivityThread.java:6077)
      4 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
      2 frames