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 Stack Overflow by Emad Helmi
, 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 Emilio
, 1 year ago
You need to use a Theme.AppCompat theme (or descendant) with the design library.
via bet6e.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 Alkarin
, 1 year ago
You need to use a Theme.AppCompat theme (or descendant) with the design library.
via Stack Overflow by Rishi Kesh
, 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:184)
at android.support.design.widget.CoordinatorLayout.(CoordinatorLayout.java:178)
at com.android.layoutlib.bridge.android.BridgeInflater.loadCustomView(BridgeInflater.java:205)
at com.android.layoutlib.bridge.android.BridgeInflater.createViewFromTag(BridgeInflater.java:133)

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.