Skip to content Skip to sidebar Skip to footer

Getting 'the Method Setsupportactionbar(toolbar) In The Type Appcompatactivity Is Not Applicable For The Arguments (toolbar)' In My Appcompatactivity

I'm upgrading the UI of a game that I built some time ago and am heading toward Google's Material Design. As part of the code upgrade, I installed the backwards compatibility suppo

Solution 1:

Change:

import android.widget.Toolbar;

to:

import android.support.v7.widget.Toolbar;

in the Java source code that presumably appears above what you have shown in your question. :-)

Post a Comment for "Getting 'the Method Setsupportactionbar(toolbar) In The Type Appcompatactivity Is Not Applicable For The Arguments (toolbar)' In My Appcompatactivity"