I guess many SO users might have faced this same issue, as there are many questions on SO about this. I went through all the answers and checked for all the requirements, namely,
I cant get the R file yet. Is there anything else I should check for? Help Jake Warton!
Open SDK manager and check if your Build Tools are updated