java.lang.RuntimeException: Unable to start activity ComponentInfo{com.teamtreehouse.stormy/com.teamtreehouse.stormy.ui.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

teamtreehouse.com | 4 months ago
  1. 0

    MainActivity.java uses or overrides a depricated api. recompile with Xlint | Treehouse Community

    teamtreehouse.com | 4 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.teamtreehouse.stormy/com.teamtreehouse.stormy.ui.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  2. 0

    AndroidStudiop - FATAL EXCEPTION: main - Unable to start activity ComponentInfo

    Stack Overflow | 12 months ago | mrohbang
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.user.shop2cookapp/com.example.user.shop2cookapp.Browse_Fragment}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  3. 0

    How to create application toolbar?

    Stack Overflow | 11 months ago | XX XX
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.joanna.fragmentn/com.example.joanna.fragmentn.MainActivity}: 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

    My android studio project works finely on lollipop but crashes while testing on kitkat devices

    Stack Overflow | 9 months ago | Tony Davis
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.production.iedc.helo/com.production.iedc.helo.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  6. 0

    Running Android Espresso Test errors with You need to use a Theme.AppCompat theme (or descendant) with this activity

    Stack Overflow | 9 months ago | Jack Bilbo
    java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

  1. Alexandru Popa 10 times, last 3 weeks ago
  2. Benny 10 times, last 4 months ago
  3. danleyb2Interintel 4 times, last 5 months ago
  4. dmitry 1 times, last 7 months ago
  5. asvid 2 times, last 7 months ago
1 more registered users
1 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.IllegalStateException

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

    at android.support.v7.app.AppCompatDelegateImplV7.createSubDecor()
  2. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:310)
    2. android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:279)
    3. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:253)
    4. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109)
    4 frames
  3. com.teamtreehouse.stormy
    MainActivity.onCreate
    1. com.teamtreehouse.stormy.ui.MainActivity.onCreate(MainActivity.java:61)
    1 frame
  4. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:6221)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2614)
    3 frames