java.lang.RuntimeException: 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.

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 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 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
, 9 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 MrBIMC
, 3 months 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 KiWiLss
, 1 month ago
Unable to start activity ComponentInfo{com.example.yhao.fixedfloatwindow/com.example.fixedfloatwindow.FixedFloatActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via GitHub by WayJ
, 1 year ago
Unable to start activity ComponentInfo{com.example.mysmall/com.example.mysmall.app.main.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{dataforensics.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

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.