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 | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Android PHP MySQL Login Tutorial – Android Login App

    simplifiedcoding.net | 6 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

    Extending AppCompActivity gives uncaught exception

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

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

    Stack Overflow | 2 years 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

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

    Stack Overflow | 2 years 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.

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