Solution:
Click onBuild->Clean Projectand that will perform a gradle clean
http://stackoverflow.com/questions/17054000/cannot-resolve-symbol-r-in-android-studio
Solution:
Click onBuild->Clean Projectand that will perform a gradle clean
http://stackoverflow.com/questions/17054000/cannot-resolve-symbol-r-in-android-studio