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
<path android:fillColor="@color/white" ...
I replaced with
<path android:fillColor="#fff" ...
and the problem disappeared.