java.lang.RuntimeException: Unable to start activity ComponentInfo{logr.example.star.l/logr.example.star.l.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

simplifiedcoding.net | 4 months ago
  1. 0

    Android PHP MySQL Login Tutorial – Android Login App

    simplifiedcoding.net | 4 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{logr.example.star.l/logr.example.star.l.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  2. 0

    Activity ActionBar can't showing the launcher icon and drawer layout icon

    Stack Overflow | 1 year ago | hasnain_ahmad
    java.lang.RuntimeException: Unable to start activity ComponentInfo{xperts.net.pk.navwithbaseactivity/xperts.net.pk.navwithbaseactivity.FirstActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  3. 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.
  6. 0

    Opening an Activity that contains only a Dialog

    Stack Overflow | 1 year ago | Axel Ros
    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:112)
    2. android.support.v7.app.AppCompatDelegateImplV7.onCreate(AppCompatDelegateImplV7.java:148)
    3. android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:60)
    3 frames
  3. logr.example.star
    MainActivity.onCreate
    1. logr.example.star.l.MainActivity.onCreate(MainActivity.java:43)
    1 frame
  4. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:5122)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1081)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2307)
    3 frames