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

Stack Overflow | tccpg288 | 2 months ago
  1. 0

    IllegalStateException: Need to use Theme.AppCompat or one of its descendants

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

    GitHub comment 271#166362579

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

    Using lib in Service

    GitHub | 7 months ago | AlirezaAkbarix
    rx.exceptions.OnErrorNotImplementedException: 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

    IllegalStateException: AlertDialog, onClick, ThemeWrapper

    Stack Overflow | 6 months ago | Tanishq Sharma
    java.lang.IllegalStateException: Could not execute method for android:onClick at android.view.View$DeclaredOnClickListener.onClick(View.java:4463)
  6. 0

    IllegalStateException in GoogleIdentityProvider.onPermissionsRequireExplanation

    GitHub | 4 months ago | pmq
    java.lang.RuntimeException: Could not dispatch event: class com.auth0.lock.event.IdentityProviderAuthenticationRequestEvent to handler [EventHandler public void com.auth0.lock.LockActivity.onIdentityProviderAuthentication(com.auth0.lock.event.IdentityProviderAuthenticationRequestEvent)]: You need to use a Theme.AppCompat theme (or descendant) with this activity.

  1. spe 7 times, last 7 months ago
  2. Ranjana Dangol 17 times, last 5 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:343)
    2. android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:312)
    3. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:277)
    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:257)
    6 frames
  3. Android Platform
    Dialog.show
    1. android.app.Dialog.dispatchOnCreate(Dialog.java:397)
    2. android.app.Dialog.show(Dialog.java:295)
    2 frames
  4. Android v7
    AlertDialog$Builder.show
    1. android.support.v7.app.AlertDialog$Builder.show(AlertDialog.java:953)
    1 frame
  5. com.troychuinard.fanpolls
    NewImageActivity$MyAdapter$1.onClick
    1. com.troychuinard.fanpolls.NewImageActivity$MyAdapter$1.onClick(NewImageActivity.java:243)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:5210)
    2. android.view.View$PerformClick.run(View.java:21294)
    3. android.os.Handler.handleCallback(Handler.java:739)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:148)
    6. android.app.ActivityThread.main(ActivityThread.java:5527)
    6 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
    2 frames