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 this activity.
via xamarin.com by Unknown author, 1 year ago
You need to use a Theme.AppCompat theme (or descendant) with this activity.
via GitHub by espiguilla
, 1 year ago
You need to use a Theme.AppCompat theme (or descendant) with this activity.
via GitHub by negue
, 1 year ago
You need to use a Theme.AppCompat theme (or descendant) with this activity.
via Stack Overflow by Prathap Badavath
, 9 months ago
You need to use a Theme.AppCompat theme (or descendant) with this activity.
java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. at android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:343) at android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:312) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:277) at android.support.v7.app.AppCompatDialog.setContentView(AppCompatDialog.java:80) at android.support.v7.app.AlertController.installContent(AlertController.java:214) at android.support.v7.app.AlertDialog.onCreate(AlertDialog.java:257) at android.app.Dialog.dispatchOnCreate(Dialog.java:397) at android.app.Dialog.show(Dialog.java:295) at android.support.v7.app.AlertDialog$Builder.show(AlertDialog.java:953) at com.troychuinard.fanpolls.NewImageActivity$MyAdapter$1.onClick(NewImageActivity.java:243) at android.view.View.performClick(View.java:5210) at android.view.View$PerformClick.run(View.java:21294) 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)