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

Stack Overflow | Leonid | 7 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

    OpenCV and Android Studio: "unfortunately app has stopped"

    Stack Overflow | 7 months ago | Leonid
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tech.te.app/com.tech.te.app.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  2. 0

    Showing an alert dialog in a translucent activity

    Stack Overflow | 3 weeks ago | Sweetie Anang
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.application.sweetiean.dummylocationupdates/com.application.sweetiean.dummylocationupdates.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

    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.onPostCreate
      1. android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:343)
      2. android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:312)
      3. android.support.v7.app.AppCompatDelegateImplV7.onPostCreate(AppCompatDelegateImplV7.java:167)
      4. android.support.v7.app.AppCompatActivity.onPostCreate(AppCompatActivity.java:98)
      4 frames
    3. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1198)
      2. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2638)
      2 frames