java.lang.NoSuchMethodError

No static method getMatrix(Landroid/view/View;)Landroid/graphics/Matrix; in class Landroid/support/v4/view/ViewCompat; or its super classes (declaration of 'android.support.v4.view.ViewCompat' appears in /data/data/com.app.yaw/files/instant-run/dex/slice-com.android.support-support-v4-23.1.1_f0d40c0c98a4f0392163431bacae3584a7d8e5f6-classes.dex)

Solutions on the web2646

  • No static method getMatrix(Landroid/view/View;)Landroid/graphics/Matrix; in class Landroid/support/v4/view/ViewCompat; or its super classes (declaration of 'android.support.v4.view.ViewCompat' appears in /data/data/com.app.yaw/files/instant-run/dex/slice-com.android.support-support-v4-23.1.1_f0d40c0c98a4f0392163431bacae3584a7d8e5f6-classes.dex)
  • via Stack Overflow by Syed Furqan
    , 10 months ago
    No static method getMatrix(Landroid/view/View;)Landroid/graphics/Matrix; in class Landroid/support/v4/view/ViewCompat; or its super classes (declaration of 'android.support.v4.view.ViewCompat' appears in /data/data/com.furqan.android.criminalintent/files/instant-run/dex/slice-com.android.support-support-v4-23.4.0_94676d10cfdaa85c7b7e76891d3df267bc4aecd0-classes.dex)
  • via GitHub by mcxtzhang
    , 8 months ago
    No static method getMatrix(Landroid/view/View;)Landroid/graphics/Matrix; in class Landroid/support/v4/view/ViewCompat; or its super classes (declaration of 'android.support.v4.view.ViewCompat' appears in /data/data/com.mcxtzhang.cstnorecyclelistview/files/instant-run/dex/slice-com.android.support-support-v4-23.4.0_1e62650e7ea034df7b42508881c720631f172dd6-classes.dex)
  • Stack trace

    • java.lang.NoSuchMethodError: No static method getMatrix(Landroid/view/View;)Landroid/graphics/Matrix; in class Landroid/support/v4/view/ViewCompat; or its super classes (declaration of 'android.support.v4.view.ViewCompat' appears in /data/data/com.app.yaw/files/instant-run/dex/slice-com.android.support-support-v4-23.1.1_f0d40c0c98a4f0392163431bacae3584a7d8e5f6-classes.dex) at android.support.v7.widget.RecyclerView$LayoutManager.getTransformedBoundingBox(RecyclerView.java:8100) at android.support.v7.widget.OrientationHelper$2.getTransformedEndWithDecoration(OrientationHelper.java:402) at android.support.v7.widget.LinearLayoutManager.recycleViewsFromStart(LinearLayoutManager.java:1275) at android.support.v7.widget.LinearLayoutManager.recycleByLayoutState(LinearLayoutManager.java:1347) at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1371) at android.support.v7.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1193) at android.support.v7.widget.LinearLayoutManager.scrollVerticallyBy(LinearLayoutManager.java:1043) at android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1596) at android.support.v7.widget.RecyclerView.onTouchEvent(RecyclerView.java:2704) at android.view.View.dispatchTouchEvent(View.java:8287) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2318) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2050) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2324) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2064) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2324) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2064) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2324) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2064) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2324) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2064) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2324) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2064) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2324) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2064) at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2324) at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2064) at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2327) at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1705) at android.app.Activity.dispatchTouchEvent(Activity.java:2797) at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2288) at android.view.View.dispatchPointerEvent(View.java:8477) at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4281) at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4147) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3652) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3705) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3671) at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3781) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3679) at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3838) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3652) at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3705) at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3671) at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3679) at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3652) at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5961)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago