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

Stack Overflow | João Sardinha | 6 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

    LayoutParams throwing NoSuchMethodError

    Stack Overflow | 6 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