java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.harsimar.tabswithswipableviews/com.example.harsimar.tabswithswipableviews.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.

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • App Crashes on using Tab Views in Android
    via Stack Overflow by Simar
    ,
  • Same code but app crashes?
    via Stack Overflow by jcrossley
    ,
  • AndroidStudio- Fattal error
    via Stack Overflow by user233531
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.harsimar.tabswithswipableviews/com.example.harsimar.tabswithswipableviews.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. at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)

    Users with the same issue

    Indri Yunita
    Indri Yunita7 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Emrah Küçük
    Emrah Küçük3 times, last one,
    Unknown visitor1 times, last one,
    100 more bugmates