java.lang.RuntimeException: Unable to start activity ComponentInfo{com.lb.app_manager/com.lb.app_manager.activities.main_activity.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

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

Samebug tips

,

Create an empty public constructor in your code.

Solutions on the web

via google.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{com.lb.app_manager/com.lb.app_manager.activities.main_activity.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via GitHub by B--B
, 1 year ago
Unable to start activity ComponentInfo{com.google.android.dialer/com.google.android.dialer.settings.GoogleDialerSettingsActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via Stack Overflow by user1517108
, 1 year ago
Unable to start activity ComponentInfo{com.example.vibha.digits42c/com.example.vibha.digits42c.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.**
via Stack Overflow by cs x
, 1 year ago
Unable to start activity ComponentInfo{com.kycq.demo/com.kycq.demo.LoadingActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via Stack Overflow by Suman Adhikari
, 1 year ago
Unable to start activity ComponentInfo{net.slidenerd.materialtest/net.slidenerd.materialtest.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via Stack Overflow by ramzixp
, 1 year ago
Unable to start activity ComponentInfo{xxx/xxx.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.lb.app_manager/com.lb.app_manager.activities.main_activity.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

Users with the same issue

66 times, 4 weeks ago
Once, 2 months ago
33 times, 3 months ago
8 times, 4 months ago
468 times, 4 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.