java.lang.NoSuchMethodError: android.support.v4.view.ViewPager.removeOnPageChangeListener

GitHub | songj056 | 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

    用SlidingTabLayout+ViewPager,报java.lang.NoSuchMethodError: android.support.v4.view.ViewPager.removeOnPageChangeListener

    GitHub | 8 months ago | songj056
    java.lang.NoSuchMethodError: android.support.v4.view.ViewPager.removeOnPageChangeListener

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      android.support.v4.view.ViewPager.removeOnPageChangeListener

      at com.flyco.tablayout.SlidingTabLayout.setViewPager()
    2. com.flyco.tablayout
      SlidingTabLayout.setViewPager
      1. com.flyco.tablayout.SlidingTabLayout.setViewPager(SlidingTabLayout.java:202)
      1 frame