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
, 1 year ago
You need to use a Theme.AppCompat theme (or descendant) with the design library.
via Stack Overflow by Sarper
, 1 year 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.
via Stack Overflow by safe_malloc
, 2 years ago
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:178)
at android.support.design.widget.CoordinatorLayout.(CoordinatorLayout.java:172)
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

Once, 1 year ago
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
2 times, 1 year ago

Write tip

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