Skip to content

Fix 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. in androidx.appcompat.app.AppCompatDelegateImpl.setSupportActionBar (AppCompatDelegateImpl.java:572) #35

@saipulmuiz

Description

@saipulmuiz

Version 1.0(1)

Stacktrace

androidx.appcompat.app.AppCompatDelegateImpl.setSupportActionBar (AppCompatDelegateImpl.java:572);

androidx.appcompat.app.AppCompatActivity.setSupportActionBar (AppCompatActivity.java:159);

com.cektrend.cekwarteg.activity.DetailMenuOwnerActivity.initComponents (DetailMenuOwnerActivity.java:63);

com.cektrend.cekwarteg.activity.DetailMenuOwnerActivity.onCreate (DetailMenuOwnerActivity.java:46);

Reason

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.

Link to App Center

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions