java.lang.RuntimeException: Unable to start activity ComponentInfo{p110.uk.helloworld/p110.uk.helloworld.MyActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

Stack Overflow | P110 | 2 years ago
  1. 0

    Android app crashes on startup in emulator

    Stack Overflow | 2 years ago | P110
    java.lang.RuntimeException: Unable to start activity ComponentInfo{p110.uk.helloworld/p110.uk.helloworld.MyActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  2. 0

    1.1.0 Theme Isssue

    GitHub | 3 years ago | ankesh27
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mydala/org.appcelerator.titanium.TiActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  3. 0

    open a new activity in thread in android studio

    Stack Overflow | 2 years ago | Arrie
    java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    App crashed during landscape mode

    Stack Overflow | 3 years ago | user3595963
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.apocalypse/com.example.apocalypse.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  6. 0

    Android emulator closes app upon startup, LogCat gives multiple errors

    Stack Overflow | 3 years ago | user3595963
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.apocalypse/com.example.apocalypse.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

  1. Macapon 2 times, last 7 months ago
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.IllegalStateException

    You need to use a Theme.AppCompat theme (or descendant) with this activity.

    at android.support.v7.app.ActionBarActivityDelegate.onCreate()
  2. Android v7
    ActionBarActivity.onCreate
    1. android.support.v7.app.ActionBarActivityDelegate.onCreate(ActionBarActivityDelegate.java:108)
    2. android.support.v7.app.ActionBarActivityDelegateICS.onCreate(ActionBarActivityDelegateICS.java:57)
    3. android.support.v7.app.ActionBarActivity.onCreate(ActionBarActivity.java:98)
    3 frames
  3. p110.uk.helloworld
    MyActivity.onCreate
    1. p110.uk.helloworld.MyActivity.onCreate(MyActivity.java:22)
    1 frame
  4. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:5720)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1102)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2208)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2317)
    4 frames