The moment I added the android support annotations to my dependencies
compile \'com.android.support:support-annotations:20.0.0\'
I got this erro
Clean project works as a temporary fix, but the issue will reappear on next compilation error.
To fix more reliably, I had to update the dependency to android support-v4 to com.android.support:support-v4:22.2.0.
support-v4
com.android.support:support-v4:22.2.0