I would like to fix this error
R cannot be resolved to a variable
I looked up many answers, but I could not get the right one;
I had this problem and turns out this was due to an error in one of my layout xml files that I had just changed