java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with the design library.

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 Ask Ubuntu by Alkarin
, 1 year ago
You need to use a Theme.AppCompat theme (or descendant) with the design library.
via Stack Overflow by s.g
, 1 year ago
via Stack Overflow by Mira
, 11 months ago
You need to use a Theme.AppCompat theme (or descendant) with the design library.
via Stack Overflow by Sarper
, 11 months ago
You need to use a Theme.AppCompat theme (or descendant) with the design library.
via thenewboston.com by Unknown author, 1 year ago
You need to use a Theme.AppCompat theme (or descendant) with the design library.
java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with the design library.
at android.support.design.widget.ThemeUtils.checkAppCompatTheme(ThemeUtils.java:34)
at android.support.design.widget.CoordinatorLayout.(CoordinatorLayout.java:182)
at android.support.design.widget.CoordinatorLayout.(CoordinatorLayout.java:176)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:394)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
27 more bugmates

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