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

teamtreehouse.com | 5 months ago
  1. 0

    Help with ActionBarActivity | Treehouse Community

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

    Android Fullscreen Theme is not working

    Stack Overflow | 2 years ago
    java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  3. 0

    First program doesn't work and i have no idea why

    Stack Overflow | 1 year ago | Vivian
    java.lang.RuntimeException: Unable to start activity ComponentInfo{de.vivian.calci/de.vivian.calci.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

    Roboelectric error when extending AppCompatActivity

    Stack Overflow | 1 year ago | pavey nganpi
    java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  6. 0

    Transparent activity crashes the app

    Stack Overflow | 2 years ago | Nimrod Shai
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp.enterprise/com.myapp.enterprise.GreenViewActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

  1. Akshay 2 times, last 5 months ago
  2. Macapon 2 times, last 9 months ago
4 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.AppCompatDelegateImplBase.onCreate()
  2. Android v7
    AppCompatActivity.onCreate
    1. android.support.v7.app.AppCompatDelegateImplBase.onCreate(AppCompatDelegateImplBase.java:113)
    2. android.support.v7.app.AppCompatDelegateImplV7.onCreate(AppCompatDelegateImplV7.java:146)
    3. android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:59)
    3 frames
  3. com.jordanpeterson.textly
    MainActivity.onCreate
    1. com.jordanpeterson.textly.ui.MainActivity.onCreate(MainActivity.java:191)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:4471)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1924)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1985)
    5. android.app.ActivityThread.access$600(ActivityThread.java:123)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1151)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:137)
    9. android.app.ActivityThread.main(ActivityThread.java:4429)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:3151)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:2918)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame