java.lang.RuntimeException: Unable to start activity ComponentInfo{sample.sample_mpermissions/com.gun0912.tedpermission.TedPermissionActivity}: 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

Solutions on the web

via GitHub by cking24343
, 1 year ago
Unable to start activity ComponentInfo{sample.sample_mpermissions/com.gun0912.tedpermission.TedPermissionActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via GitHub by JeongJinyong
, 7 months ago
Unable to start activity ComponentInfo{com.cocoa_studio.doznut/com.gun0912.tedpermission.TedPermissionActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via GitHub by cking24343
, 1 year ago
Unable to start activity ComponentInfo{dataforensics.sample_mpermissions/com.gun0912.tedpermission.TedPermissionActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via GitHub by MrBIMC
, 1 month ago
Unable to start activity ComponentInfo{org.tingr.teacher/com.gun0912.tedpermission.TedPermissionActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via GitHub by B--B
, 11 months 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.**
java.lang.RuntimeException: Unable to start activity ComponentInfo{sample.sample_mpermissions/com.gun0912.tedpermission.TedPermissionActivity}: 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

Samebug visitor profile picture
Unknown user
2 times, 11 months ago
Samebug visitor profile picture
Unknown user
2 times, 6 months ago
22 times, 1 year ago
12 times, 1 year ago
99 times, 1 year ago
111 more bugmates

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