I\'m not unsure of why I\'m getting this error. Here\'s the menu in question:
you can fixed this issue by doing this job in your code
adding this
import android.widget.SearchView;