java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.jorgenajera.myapplication/com.mikepenz.aboutlibraries.ui.LibsActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.

GitHub | NajeraP95 | 3 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

    Colored NavBar

    GitHub | 3 months ago | NajeraP95
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.jorgenajera.myapplication/com.mikepenz.aboutlibraries.ui.LibsActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
  2. 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
  3. 0

    This Activity already has an action bar supplied by the window decor Error on Android Studio

    Stack Overflow | 1 year ago | Monstruone
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.usuario.myapplication/com.example.usuario.myapplication.secondActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android Monitor errors -> FATAL EXCEPTION: main

    Stack Overflow | 3 weeks ago | Vaibhav Saini
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.vaibhav.myapplication/com.example.vaibhav.myapplication.MainActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.
  6. 0

    Please Resolve my Issues

    Stack Overflow | 6 months ago | Anuj Awasthi
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.mps2.rajanchalapps/com.example.mps2.rajanchalapps.MainActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.

  1. Indri Yunita 7 times, last 2 months ago
  2. andreeaa marin 184 times, last 3 months ago
  3. Reich 59 times, last 4 months ago
  4. gamebusterz 42 times, last 1 month ago
  5. Emrah Küçük 3 times, last 4 months ago
42 more registered users
14 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.RuntimeException

    Unable to start activity ComponentInfo{com.example.jorgenajera.myapplication/com.mikepenz.aboutlibraries.ui.LibsActivity}: java.lang.IllegalStateException: This Activity already has an action bar supplied by the window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR and set windowActionBar to false in your theme to use a Toolbar instead.

    at android.app.ActivityThread.performLaunchActivity()
  2. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2450)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2510)
    2 frames