All was fine until i updated the android studio to Canary 6, When i rebuild or clean or whatever with project it\'s throw :
A failure occurred while exec
I had the same issue. There were two ways to fix my case:
vectorDrawables.useSupportLibrary = true
In my drawable vector xml files there were links to @color:
@color
I replaced with
and the problem disappeared.