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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Jo&#227;o Sardinha
, 1 year ago
android.widget.LinearLayout$LayoutParams.<init>
java.lang.NoSuchMethodError: android.widget.LinearLayout$LayoutParams.<init>
at android.support.design.widget.AppBarLayout$LayoutParams.(AppBarLayout.java:682)
at android.support.design.widget.AppBarLayout.generateLayoutParams(AppBarLayout.java:321)
at android.support.design.widget.AppBarLayout.generateLayoutParams(AppBarLayout.java:103)
at android.view.ViewGroup.addViewInner(ViewGroup.java:3447)
at android.view.ViewGroup.addView(ViewGroup.java:3309)
at android.view.ViewGroup.addView(ViewGroup.java:3254)
at android.view.ViewGroup.addView(ViewGroup.java:3230)
at m.inschool8.aMainMenu.Activity_Main.addLayoutToAppbar(Activity_Main.java:296)
at m.inschool8.bSchedule.Fragment_Subjects.onCreateView(Fragment_Subjects.java:128)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.