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 uddinstock
, 1 year ago
You need to use a Theme.AppCompat theme (or descendant) with the design library.
via Stack Overflow by Rudi Wijaya
, 1 year ago
You need to use a Theme.AppCompat theme (or descendant) with the design library.
via GitHub by rudiw
, 1 year ago
You need to use a Theme.AppCompat theme (or descendant) with the design library.
via Stack Overflow by Pranav
, 1 year ago
You need to use a Theme.AppCompat theme (or descendant) with the design library.
via Stack Overflow by user3519023
, 1 year ago
You need to use a Theme.AppCompat theme (or descendant) with the design library.
via reddit.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:36)	at android.support.design.widget.CoordinatorLayout.(CoordinatorLayout.java:192)	at android.support.design.widget.CoordinatorLayout.(CoordinatorLayout.java:186)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)	at org.jetbrains.android.uipreview.ViewLoader.createNewInstance(ViewLoader.java:465)	at org.jetbrains.android.uipreview.ViewLoader.loadClass(ViewLoader.java:172)	at org.jetbrains.android.uipreview.ViewLoader.loadView(ViewLoader.java:105)	at com.android.tools.idea.rendering.LayoutlibCallbackImpl.loadView(LayoutlibCallbackImpl.java:186)	at android.view.BridgeInflater.loadCustomView(BridgeInflater.java:334)	at android.view.BridgeInflater.loadCustomView(BridgeInflater.java:345)	at android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:245)	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)	at android.view.LayoutInflater.inflate(LayoutInflater.java:495)	at android.view.LayoutInflater.inflate(LayoutInflater.java:397)	at com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:324)	at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:429)	at com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:389)	at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:548)	at com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:533)	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:966)	at com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:533)	at com.android.tools.idea.rendering.RenderTask.lambda$inflate$72(RenderTask.java:659)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)