I had this error when I created a new branch for my project.
It made me crazy for an hour. I have tried most of the suggestions on the internet, including the accepted answer to this question.
Then I closed the project, reopened it, cleared it, and the error disappeared. So this means that it could be a cache problem.
In any case, I just wanted to share.
bazinga Dec 01 '15 at 1:21 2015-12-01 01:21
source share