I am apprentice to android but i have programming skills. I am following android app development tutorial unfortunately received below error while i'm developing a app. please help me to resolve this.
What i was tried so far :
- In project structure window i have changes 'compile SDK version to 
 API 22: android 5.1 version.
- In flavors tab 'min sdk version to API 22. 
but still i can see those errors in my coding. underlines in red color.


 
     
     
     
     
    