java.lang.NoSuchMethodError: android.widget.LinearLayout$LayoutParams.<init>

Stack Overflow | João Sardinha | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    LayoutParams throwing NoSuchMethodError

    Stack Overflow | 7 months ago | João Sardinha
    java.lang.NoSuchMethodError: android.widget.LinearLayout$LayoutParams.<init>

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      android.widget.LinearLayout$LayoutParams.<init>

      at android.support.design.widget.AppBarLayout$LayoutParams.<init>()
    2. android.support.design
      AppBarLayout.generateLayoutParams
      1. android.support.design.widget.AppBarLayout$LayoutParams.<init>(AppBarLayout.java:682)
      2. android.support.design.widget.AppBarLayout.generateLayoutParams(AppBarLayout.java:321)
      3. android.support.design.widget.AppBarLayout.generateLayoutParams(AppBarLayout.java:103)
      3 frames
    3. Android Platform
      ViewGroup.addView
      1. android.view.ViewGroup.addViewInner(ViewGroup.java:3447)
      2. android.view.ViewGroup.addView(ViewGroup.java:3309)
      3. android.view.ViewGroup.addView(ViewGroup.java:3254)
      4. android.view.ViewGroup.addView(ViewGroup.java:3230)
      4 frames
    4. m.inschool8.aMainMenu
      Activity_Main.addLayoutToAppbar
      1. m.inschool8.aMainMenu.Activity_Main.addLayoutToAppbar(Activity_Main.java:296)
      1 frame
    5. m.inschool8.bSchedule
      Fragment_Subjects.onCreateView
      1. m.inschool8.bSchedule.Fragment_Subjects.onCreateView(Fragment_Subjects.java:128)
      1 frame