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 Yik Jin
, 1 year ago
Unable to start activity ComponentInfo{com.example.android.app/com.example.android.app.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via GitHub by ericbn
, 1 year ago
Unable to start activity ComponentInfo{com.android.email/com.android.email2.ui.MailActivityEmail}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via GitHub by lolsheeplol
, 11 months ago
Unable to start activity ComponentInfo{com.lithium.authproject/com.lithium.authproject.MainActivity}: java.lang.IllegalStateException: You may only initialize Stormpath once!
via Stack Overflow by newszer
, 11 months ago
Unable to start activity ComponentInfo{com.microsoft.pdfviewertestapplication/com.microsoft.pdfviewertestapplication.MainActivity}: java.lang.IllegalStateException: DialogFragment can not be attached to a container view
via Stack Overflow by newszer
, 10 months ago
Unable to start activity ComponentInfo{com.microsoft.pdfviewertestapplication/com.microsoft.pdfviewertestapplication.MainActivity}: java.lang.IllegalStateException: DialogFragment can not be attached to a container view
via GitHub by sampalmer
, 8 months ago
Unable to start activity ComponentInfo{samuelpalmer.sensorautorotation/samuelpalmer.sensorautorotation.processes.ui.dashboard.DashboardActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources$Theme android.content.Context.getTheme()' on a null object reference
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.AppCompatActivity.setContentView(AppCompatActivity.java:140)	at com.example.android.app.MainActivity.onCreate(MainActivity.java:70)	at android.app.Activity.performCreate(Activity.java:6550)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1120)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3102)