java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tonycube.demo.navigationdrawerdemo/com.tonycube.demo.navigationdrawerdemo.MainActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features

tonycube.com | 2 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    Try setting windowActionBar to false with "<item name="windowActionBar">false</item>" or change Theme.AppCompat.Light.DarkActionBar to Theme.AppCompat.Light.NoActionBar in your styles.xml
  2. 0

    Tony Blog: 使用 Android Navigation Drawer 製作側選單 (1)

    tonycube.com | 2 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.tonycube.demo.navigationdrawerdemo/com.tonycube.demo.navigationdrawerdemo.MainActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features
  3. 0

    Example crashes when using AppCompat 22.1.0

    GitHub | 2 years ago | Iketaki
    java.lang.IllegalArgumentException: AppCompat does not support the current theme features
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Add custom font for application using Calligraphy for MaterialViewPager

    GitHub | 2 years ago | srikanthnama
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.github.florent37.materialviewpager.sample/com.github.florent37.materialviewpager.sample.MainActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features
  6. 0

    Error: AppCompat does not support the current theme features

    GitHub | 2 years ago | alburaawi
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.github.florent37.materialviewpager.sample/com.github.florent37.materialviewpager.sample.MainActivity}: java.lang.IllegalArgumentException: AppCompat does not support the current theme features
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.IllegalArgumentException

    AppCompat does not support the current theme features

    at android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor()
  2. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.ensureSubDecor(AppCompatDelegateImplV7.java:363)
    2. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:246)
    3. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:106)
    3 frames
  3. com.tonycube.demo
    MainActivity.onCreate
    1. com.tonycube.demo.navigationdrawerdemo.MainActivity.onCreate(MainActivity.java:36)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6289)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2646)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2758)
    5. android.app.ActivityThread.access$900(ActivityThread.java:177)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1448)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:145)
    9. android.app.ActivityThread.main(ActivityThread.java:5942)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
    2 frames