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

Stack Overflow | Kirmani88 | 5 months ago
  1. 0

    Error Message: You need to use a Theme.AppCompat theme with this activity

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

    Estimote Beacon Android. How to use Alerts instead of Notifications

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

    How can I fix this error: You need to use a Theme.AppCompat theme (or descendant) with this activity

    Stack Overflow | 1 year ago | Salar Rastari
    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

    GitHub comment 271#166362579

    GitHub | 11 months ago | negue
    java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  6. 0

    Theme.AppCompact Issue when creating AlertDialog on a listView with Android Studio

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

  1. Ranjana Dangol 17 times, last 5 months ago
  2. spe 7 times, last 6 months ago
2 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
    AlertDialog.onCreate
    1. android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:340)
    2. android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:309)
    3. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:273)
    4. android.support.v7.app.AppCompatDialog.setContentView(AppCompatDialog.java:80)
    5. android.support.v7.app.AlertController.installContent(AlertController.java:214)
    6. android.support.v7.app.AlertDialog.onCreate(AlertDialog.java:256)
    6 frames
  3. Android Platform
    Dialog.show
    1. android.app.Dialog.dispatchOnCreate(Dialog.java:463)
    2. android.app.Dialog.show(Dialog.java:288)
    2 frames
  4. com.tixsee.mavs
    CartActivity$1.onClick
    1. com.tixsee.mavs.ticketing.activities.CartActivity$1.onClick(CartActivity.java:92)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:5156)
    2. android.view.View$PerformClick.run(View.java:20755)
    3. android.os.Handler.handleCallback(Handler.java:739)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:145)
    6. android.app.ActivityThread.main(ActivityThread.java:5832)
    6 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  7. Android
    ZygoteInit$MethodAndArgsCaller.run
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
    1 frame