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 tccpg288
, 1 year ago
You need to use a Theme.AppCompat theme (or descendant) with the design library.
via Stack Overflow by id.ed
, 5 months ago
You need to use a Theme.AppCompat theme (or descendant) with the design library.
via Stack Overflow by toka ali amien
, 2 months ago
You need to use a Theme.AppCompat theme (or descendant) with the design library.
via Stack Overflow by Kane Samba
, 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.TextInputLayout.<init>(TextInputLayout.java:139) at android.support.design.widget.TextInputLayout.<init>(TextInputLayout.java:132) at android.support.design.widget.TextInputLayout.<init>(TextInputLayout.java:128) at com.troychuinard.fanpolls.Fragment.CreateFragment$YourItemSelectedListener.onItemSelected(CreateFragment.java:153) at android.widget.AdapterView.fireOnSelected(AdapterView.java:924) at android.widget.AdapterView.dispatchOnItemSelected(AdapterView.java:913) at android.widget.AdapterView.access$300(AdapterView.java:51) at android.widget.AdapterView$SelectionNotifier.run(AdapterView.java:883) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5527) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)