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

Stack Overflow | user2384694 | 3 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

    Unable to resolve error Theme.AppCompat theme (or descendant)

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

    FORT SDK integration in android

    Stack Overflow | 6 months ago | Amal Kronz
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.newsolution.jiibli/com.payfort.fort.android.sdk.activities.InitSecureConnectionActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
  3. 0

    illegalStateException in my app due to NoNonsense-FilePicker

    GitHub | 1 year ago | venkat20390
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.miragestack.secret.voice.recorder/com.nononsenseapps.filepicker.FilePickerActivity}: 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

    why am I getting an Theme related error in android studio?

    Stack Overflow | 2 years ago | Mark Minecrafter Harrop
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.harrops.h20droidlauncher/com.example.harrops.h20droidlauncher.HomeLayout}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
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. 26

    at android.support.v7.app.AppCompatDelegateImplV7.i()
  2. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.i(SourceFile:340)
    2. android.support.v7.app.AppCompatDelegateImplV7.h(SourceFile:309)
    3. android.support.v7.app.AppCompatDelegateImplV7.setContentView(SourceFile:273)
    4. android.support.v7.app.AppCompatActivity.setContentView(SourceFile:136)
    4 frames
  3. Activities.Commons
    BaseActivity.onCreate
    1. Activities.Commons.BaseActivity.onCreate(SourceFile:236)
    1 frame
  4. Activities.Accounts
    AppLaunchActivity.onCreate
    1. Activities.Accounts.AppLaunchActivity.onCreate(SourceFile:24)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5133)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2175)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
    5. android.app.ActivityThread.access$600(ActivityThread.java:141)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:137)
    9. android.app.ActivityThread.main(ActivityThread.java:5103)
    9 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:525)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    3. com.android.internal.os.ZygoteInit.main(Native Method)
    3 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame