App Crashes after listing 27.8

My code is not working after listing 27.8. It is working perfectly till listing 27.8 but when i add the code from the listing book i.e. adding the listener on the SearchView it is not working. The logcat is not showing any exceptions or reason of the crash. Pls help me if you know the reason of crash.

Hi everyone who have the same problem. The reason of this - imported class SearchView. It must be, not android.widget.SearchView;