The moment I added the android support annotations to my dependencies
compile \'com.android.support:support-annotations:20.0.0\'
I got this erro
I had the same problem , but i deleted build files from the build folder
projectname/app/build
and it removed all the related error. "can't clean the project" and also "dex errow with $anim"