This Activity already has an action bar

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.

解决:

theme中增加  false

你可能感兴趣的:(This Activity already has an action bar)