java.lang.RuntimeException: Unable to start activity ComponentInfo{xxx/xxx.PrefActivity}: 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. 0

    How to add Toolbar in PreferenceActivity

    Stack Overflow | 3 months ago | Олег Медведев
    java.lang.RuntimeException: Unable to start activity ComponentInfo{xxx/xxx.PrefActivity}: 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

    Android Studio: E/AndroidRuntime: FATAL EXCEPTION: main

    Stack Overflow | 3 months ago | Vyan Garcia
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.pcuser.iwoods/com.example.pcuser.iwoods.UserProfile}: 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.
  3. 0

    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo in Android Studio

    Stack Overflow | 2 months ago | Dhara Vihol
    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

    IllegalStateException: This Activity already has an action bar supplied by the window decor

    Stack Overflow | 1 month ago | Bildad Architeque Kush-ite
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fivethirtyeight.predictionapp/com.fivethirtyeight.predictionapp.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

    魅族 mx2 android 4.4.4,无法运行,即一点击就提示停止运行

    GitHub | 4 months ago | hnyzwtf
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xiecc.seeWeather/com.xiecc.seeWeather.modules.main.ui.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 2 times, last 1 week ago
  2. maxxi 4 times, last 1 month ago
  3. ivotje50 4 times, last 4 months ago
  4. Mathan Chinna 1 times, last 4 months ago
  5. adawolfs 2 times, last 4 months ago
4 more registered users
4 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

    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.support.v7.app.AppCompatDelegateImplV7.setSupportActionBar()
  2. Android v7
    AppCompatActivity.setSupportActionBar
    1. android.support.v7.app.AppCompatDelegateImplV7.setSupportActionBar(AppCompatDelegateImplV7.java:198)
    2. android.support.v7.app.AppCompatActivity.setSupportActionBar(AppCompatActivity.java:130)
    2 frames
  3. com.smartfon_apps.timetable_sch32
    PrefActivity.onCreate
    1. com.smartfon_apps.timetable_sch32.PrefActivity.onCreate(PrefActivity.java:21)
    1 frame
  4. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:6020)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2284)
    3 frames