java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.jaisonjoseph.newsclient/com.example.jaisonjoseph.newsclient.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

,
via Stack Overflow by CommonsWare

Try loading the text file into a WebView, then printing the contents of the WebView.

Solutions on the web

via Stack Overflow by Jaison Joseph
, 1 year ago
Unable to start activity ComponentInfo{com.example.jaisonjoseph.newsclient/com.example.jaisonjoseph.newsclient.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via Stack Overflow by Hamsty
, 2 years ago
Unable to start activity ComponentInfo{DeviceListView}: java.lang.NullPointerException
via Stack Overflow by user3442610
, 2 years ago
Unable to start activity ComponentInfo{com.example.crystalball/com.example.crystalball.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via Stack Overflow by Vic V
, 2 years ago
Unable to start activity ComponentInfo{com.app.name/com.app.name.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via Stack Overflow by Mina Dahesh
, 1 year ago
Unable to start activity ComponentInfo{vow_note.maxsoft.com.vownote/vow_note.maxsoft.com.vownote.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
via google.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{*}: 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.example.jaisonjoseph.newsclient/com.example.jaisonjoseph.newsclient.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2118)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2143)
at android.app.ActivityThread.access$700(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:174)
at android.app.ActivityThread.main(ActivityThread.java:4952)

Users with the same issue

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

Write tip

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