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.

Stack Overflow | Jaison Joseph | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Application crashes on upgrading from older version of android to marshmallow

    Stack Overflow | 7 months ago | Jaison Joseph
    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.
  2. 0

    app is crashin on 4.1.1

    GitHub | 1 year ago | rameshvoltella
    java.lang.RuntimeException: Unable to start activity android.view.InflateException: Binary XML file line #38: Error inflating class me.himanshusoni.chatmessageview.ChatMessageView
  3. 0

    Why is DialogFragment.onCreateView called when Activity is being Destroyed?

    Stack Overflow | 4 years ago | WindsurferOak
    java.lang.RuntimeException: Unable to destroy activity {com.myapp/com.myapp.activity.FirstFragment}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Pass extra intent after capturing image from camera

    Stack Overflow | 2 years ago | Ronak Patel
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=0, result=-1, data=null} to activity {com.example.android.navigationdrawerexample/com.example.android.mtesapp.EditProfileActivity}: java.lang.NullPointerException
  6. 0

    application crashed on orientation change

    Stack Overflow | 4 years ago | user1778855
    java.lang.RuntimeException: Unable to start activity ComponentInfo{..../....Music}: java.lang.NullPointerException

  1. ahmed 6 times, last 2 weeks ago
  2. justCodeit 59 times, last 3 weeks ago
  3. Donsy 4 times, last 2 months ago
  4. Adrien 2 times, last 2 months ago
  5. rp 1 times, last 3 months ago
78 more registered users
17 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2118)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2143)
    3. android.app.ActivityThread.access$700(ActivityThread.java:140)
    4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
    5. android.os.Handler.dispatchMessage(Handler.java:99)
    6. android.os.Looper.loop(Looper.java:174)
    7. android.app.ActivityThread.main(ActivityThread.java:4952)
    7 frames